home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
_archvrs
/
mac
/
tar40.sit
/
tar.rsrc
/
bin.rsrc_CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1994-02-02
|
526KB
|
9,605 lines
# near model CODE resource
# entry label at 0x0000
entry:
fn00000000:
00000000 4E56 FFE8 link A6, -0x0018
00000004 2F0C move.l -[A7], A4
00000006 49ED EAFC lea.l A4, [A5 - 0x1504]
0000000A 486D FD64 pea.l [A5 - 0x29C]
0000000E A86E trap InitGraf
00000010 A8FE trap InitFonts
00000012 70FF moveq.l D0, 0xFFFFFFFF
00000014 3F00 move.w -[A7], D0
00000016 7200 moveq.l D1, 0x00
00000018 3F01 move.w -[A7], D1
0000001A 201F move.l D0, [A7]+
0000001C A032 trap FlushEvents
0000001E A912 trap InitWindows
00000020 A930 trap InitMenus
00000022 A9CC trap TEInit
00000024 7000 moveq.l D0, 0x00
00000026 2F00 move.l -[A7], D0
00000028 A97B trap InitDialogs
0000002A A850 trap InitCursor
0000002C 558F subq.l A7, 2
0000002E 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
00000034 486E FFFC pea.l [A6 - 0x4]
00000038 4EBA 56AA jsr [PC + 0x56AA /* 000056E4 */]
0000003C 4A5F tst.w [A7]+
0000003E 6612 bne +0x14 /* 00000052 */
00000040 203C 0000 FFFF move.l D0, 0xFFFF
00000046 C0AE FFFC and.l D0, [A6 - 0x4]
0000004A 0C80 0000 0605 cmpi.l D0, 0x605
00000050 6C06 bge +0x8 /* 00000058 */
label00000052:
00000052 4EBA 1F84 jsr [PC + 0x1F84 /* 00001FD8 */]
00000056 A9F4 trap ExitToShell
label00000058:
00000058 4EBA 32D2 jsr [PC + 0x32D2 /* 0000332C */]
0000005C 4EBA 2DCC jsr [PC + 0x2DCC /* 00002E2A */]
00000060 4A00 tst.b D0
00000062 6702 beq +0x4 /* 00000066 */
00000064 A9F4 trap ExitToShell
label00000066:
00000066 7078 moveq.l D0, 0x78
00000068 A122 trap NewHandle, flags=1
0000006A 2B48 EB7C move.l [A5 - 0x1484], A0
0000006E 2008 move.l D0, A0
00000070 661E bne +0x20 /* 00000090 */
00000072 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000076 48C0 ext.l D0
00000078 2F00 move.l -[A7], D0
0000007A 7000 moveq.l D0, 0x00
0000007C 2F00 move.l -[A7], D0
0000007E 486D EAB6 pea.l [A5 - 0x154A]
00000082 486D EACE pea.l [A5 - 0x1532]
00000086 4EBA 1E60 jsr [PC + 0x1E60 /* 00001EE8 */]
0000008A A9F4 trap ExitToShell
0000008C 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000090:
00000090 486D EAD4 pea.l [A5 - 0x152C]
00000094 7028 moveq.l D0, 0x28
00000096 2F00 move.l -[A7], D0
00000098 486D EAD6 pea.l [A5 - 0x152A]
0000009C 2F0C move.l -[A7], A4
0000009E 4EAD 01A2 jsr [A5 + 0x1A2]
000000A2 4EBA 09F6 jsr [PC + 0x9F6 /* 00000A9A */]
000000A6 4A00 tst.b D0
000000A8 4FEF 0010 lea.l A7, [A7 + 0x10]
000000AC 6600 0098 bne +0x9A /* 00000146 */
label000000B0:
000000B0 4A2D F3E8 tst.b [A5 - 0xC18]
000000B4 660C bne +0xE /* 000000C2 */
000000B6 598F subq.l A7, 4
000000B8 A924 trap FrontWindow
000000BA 4A9F tst.l [A7]+
000000BC 6604 bne +0x6 /* 000000C2 */
000000BE 4EBA 31FA jsr [PC + 0x31FA /* 000032BA */]
label000000C2:
000000C2 558F subq.l A7, 2
000000C4 70FF moveq.l D0, 0xFFFFFFFF
000000C6 3F00 move.w -[A7], D0
000000C8 486E FFEC pea.l [A6 - 0x14]
000000CC 7214 moveq.l D1, 0x14
000000CE 2F01 move.l -[A7], D1
000000D0 7000 moveq.l D0, 0x00
000000D2 2F00 move.l -[A7], D0
000000D4 A860 trap WaitNextEvent
000000D6 4A1F tst.b [A7]+
000000D8 6764 beq +0x66 /* 0000013E */
000000DA 302E FFEC move.w D0, [A6 - 0x14]
000000DE 5340 subq.w D0, 1
000000E0 670A beq +0xC /* 000000EC */
000000E2 5540 subq.w D0, 2
000000E4 6738 beq +0x3A /* 0000011E */
000000E6 5540 subq.w D0, 2
000000E8 6734 beq +0x36 /* 0000011E */
000000EA 6052 bra +0x54 /* 0000013E */
label000000EC:
000000EC 558F subq.l A7, 2
000000EE 2F2E FFF6 move.l -[A7], [A6 - 0xA]
000000F2 486E FFE8 pea.l [A6 - 0x18]
000000F6 A92C trap FindWindow
000000F8 301F move.w D0, [A7]+
000000FA 5340 subq.w D0, 1
000000FC 6710 beq +0x12 /* 0000010E */
000000FE 5340 subq.w D0, 1
00000100 663C bne +0x3E /* 0000013E */
00000102 486E FFEC pea.l [A6 - 0x14]
00000106 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000010A A9B3 trap SystemClick
0000010C 6030 bra +0x32 /* 0000013E */
label0000010E:
0000010E 598F subq.l A7, 4
00000110 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00000114 A93D trap MenuSelect
00000116 4EBA 2E94 jsr [PC + 0x2E94 /* 00002FAC */]
0000011A 584F addq.w A7, 4
0000011C 6020 bra +0x22 /* 0000013E */
label0000011E:
0000011E 303C 0100 move.w D0, 0x100
00000122 C06E FFFA and.w D0, [A6 - 0x6]
00000126 6716 beq +0x18 /* 0000013E */
00000128 598F subq.l A7, 4
0000012A 203C 0000 00FF move.l D0, 0xFF
00000130 C0AE FFEE and.l D0, [A6 - 0x12]
00000134 3F00 move.w -[A7], D0
00000136 A93E trap MenuKey
00000138 4EBA 2E72 jsr [PC + 0x2E72 /* 00002FAC */]
0000013C 584F addq.w A7, 4
label0000013E:
0000013E 4A2D EB84 tst.b [A5 - 0x147C]
00000142 6700 FF6C beq -0x92 /* 000000B0 */
label00000146:
00000146 4A2D EB82 tst.b [A5 - 0x147E]
0000014A 6704 beq +0x6 /* 00000150 */
0000014C 4EBA 5856 jsr [PC + 0x5856 /* 000059A4 */]
label00000150:
00000150 A9F4 trap ExitToShell
00000152 286E FFE4 movea.l A4, [A6 - 0x1C]
00000156 4E5E unlink A6
00000158 4E75 rts
0000015A 846D 6169 or.w D2, [A5 + 0x6169]
0000015E 6E00 0000 bgt +0x2 /* 00000160 */
// begin alternate branch 00000160-00000170
label00000160:
00000160 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000162: // (misaligned)
00000164 0000 202D ori.b D0, 0x2D /* '-' */
00000168 EFE6 B0AD bfins -[A6] {D6:D0}, D2
0000016C EFE2 661A bfins -[A2] {D1:D0}, D1
// end alternate branch 00000160-00000170
label00000160: // (misaligned)
fn00000162:
00000162 4E56 0000 link A6, 0
00000166 202D EFE6 move.l D0, [A5 - 0x101A]
0000016A B0AD EFE2 cmp.l D0, [A5 - 0x101E]
0000016E 661A bne +0x1C /* 0000018A */
00000170 4EBA 0718 jsr [PC + 0x718 /* 0000088A */]
00000174 4A00 tst.b D0
00000176 6704 beq +0x6 /* 0000017C */
00000178 7000 moveq.l D0, 0x00
0000017A 6012 bra +0x14 /* 0000018E */
label0000017C:
0000017C 202D EFE6 move.l D0, [A5 - 0x101A]
00000180 B0AD EFE2 cmp.l D0, [A5 - 0x101E]
00000184 6604 bne +0x6 /* 0000018A */
00000186 7000 moveq.l D0, 0x00
00000188 6004 bra +0x6 /* 0000018E */
label0000018A:
0000018A 202D EFE6 move.l D0, [A5 - 0x101A]
label0000018E:
0000018E 4E5E unlink A6
00000190 4E75 rts
00000192 8746 696E pack D3, D6, 0x696E
00000196 6452 bcc +0x54 /* 000001EA */
00000198 6563 bcs +0x65 /* 000001FD */
0000019A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000019C-000001A2
fn0000019C:
0000019C 4E56 0000 link A6, 0
000001A0 2F0C move.l -[A7], A4
// end alternate branch 0000019C-000001A2
fn0000019C: // (misaligned)
0000019E 0000 2F0C ori.b D0, 0xC
000001A2 286E 0008 movea.l A4, [A6 + 0x8]
000001A6 600C bra +0xE /* 000001B4 */
label000001A8:
000001A8 202D EFE6 move.l D0, [A5 - 0x101A]
000001AC 06AD 0000 0200 EFE6 addi.l [A5 - 0x101A], 0x200
label000001B4:
000001B4 B9ED EFE6 cmpa.l A4, [A5 - 0x101A]
000001B8 64EE bcc -0x10 /* 000001A8 */
000001BA 202D EFE6 move.l D0, [A5 - 0x101A]
000001BE B0AD EFE2 cmp.l D0, [A5 - 0x101E]
000001C2 6314 bls +0x16 /* 000001D8 */
000001C4 7000 moveq.l D0, 0x00
000001C6 2F00 move.l -[A7], D0
000001C8 486D EB86 pea.l [A5 - 0x147A]
000001CC 486D EB9A pea.l [A5 - 0x1466]
000001D0 4EBA 1DB0 jsr [PC + 0x1DB0 /* 00001F82 */]
000001D4 4FEF 000C lea.l A7, [A7 + 0xC]
label000001D8:
000001D8 286E FFFC movea.l A4, [A6 - 0x4]
000001DC 4E5E unlink A6
000001DE 4E75 rts
000001E0 8655 or.w D3, [A5]
000001E2 7365 moveq.l D1, 0x65
000001E4 5265 addq.w -[A5], 1
000001E6 6300 0000 bls +0x2 /* 000001E8 */
// begin alternate branch 000001E8-000001F4
label000001E8:
000001E8 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000001EA: // (misaligned)
000001EC 0000 202D ori.b D0, 0x2D /* '-' */
000001F0 EFE2 4E5E bfins -[A2] {D1:0}, D5
// end alternate branch 000001E8-000001F4
label000001E8: // (misaligned)
fn000001EA:
000001EA 4E56 0000 link A6, 0
000001EE 202D EFE2 move.l D0, [A5 - 0x101E]
000001F2 4E5E unlink A6
000001F4 4E75 rts
000001F6 8945 6E64 pack D4, D5, 0x6E64
000001FA 4F66 chk.w D7, -[A6]
000001FC 5265 addq.w -[A5], 1
label000001FD: // (misaligned)
000001FE 6373 bls +0x75 /* 00000273 */
00000200 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000202-00000206
fn00000202:
00000202 4E56 FEB2 link A6, -0x014E
// end alternate branch 00000202-00000206
fn00000202: // (misaligned)
00000204 FEB2 .extension 0xEB2 // unimplemented
00000206 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000020A 266E 0008 movea.l A3, [A6 + 0x8]
0000020E 1C2E 000F move.b D6, [A6 + 0xF]
00000212 49ED EBA2 lea.l A4, [A5 - 0x145E]
00000216 426D EFDE clr.w [A5 - 0x1022]
0000021A 7000 moveq.l D0, 0x00
0000021C 2B40 ED58 move.l [A5 - 0x12A8], D0
00000220 707A moveq.l D0, 0x7A
00000222 2F00 move.l -[A7], D0
00000224 7200 moveq.l D1, 0x00
00000226 2F01 move.l -[A7], D1
00000228 486D EF64 pea.l [A5 - 0x109C]
0000022C 4EAD 017A jsr [A5 + 0x17A]
00000230 4A2D F464 tst.b [A5 - 0xB9C]
00000234 4FEF 000C lea.l A7, [A7 + 0xC]
00000238 6772 beq +0x74 /* 000002AC */
0000023A 7000 moveq.l D0, 0x00
0000023C 2B40 EF70 move.l [A5 - 0x1090], D0
00000240 41ED EBB0 lea.l A0, [A5 - 0x1450]
00000244 2B48 EF76 move.l [A5 - 0x108A], A0
00000248 426D EF7A clr.w [A5 - 0x1086]
0000024C 422D EF7E clr.b [A5 - 0x1082]
00000250 2B40 EF94 move.l [A5 - 0x106C], D0
00000254 426D EF80 clr.w [A5 - 0x1080]
00000258 4A06 tst.b D6
0000025A 6704 beq +0x6 /* 00000260 */
0000025C 7201 moveq.l D1, 0x01
0000025E 6002 bra +0x4 /* 00000262 */
label00000260:
00000260 7202 moveq.l D1, 0x02
label00000262:
00000262 1B41 EF7F move.b [A5 - 0x1081], D1
00000266 7000 moveq.l D0, 0x00
00000268 2B40 EF80 move.l [A5 - 0x1080], D0
0000026C 558F subq.l A7, 2
0000026E 486D EF64 pea.l [A5 - 0x109C]
00000272 7000 moveq.l D0, 0x00
label00000273: // (misaligned)
00000274 1F00 move.b -[A7], D0
00000276 4EBA 5158 jsr [PC + 0x5158 /* 000053D0 */]
0000027A 3E1F move.w D7, [A7]+
0000027C 671C beq +0x1E /* 0000029A */
0000027E 48C7 ext.l D7
00000280 2F07 move.l -[A7], D7
00000282 486E FEC0 pea.l [A6 - 0x140]
00000286 486D EBB8 pea.l [A5 - 0x1448]
0000028A 2F0C move.l -[A7], A4
0000028C 4EBA 1C5A jsr [PC + 0x1C5A /* 00001EE8 */]
00000290 7001 moveq.l D0, 0x01
00000292 4FEF 0010 lea.l A7, [A7 + 0x10]
00000296 6000 029E bra +0x2A0 /* 00000536 */
label0000029A:
0000029A 4EBA 1BD4 jsr [PC + 0x1BD4 /* 00001E70 */]
0000029E 3B40 EF7A move.w [A5 - 0x1086], D0
000002A2 6600 01FE bne +0x200 /* 000004A2 */
000002A6 7001 moveq.l D0, 0x01
000002A8 6000 028C bra +0x28E /* 00000536 */
label000002AC:
000002AC 4A2D F477 tst.b [A5 - 0xB89]
000002B0 6732 beq +0x34 /* 000002E4 */
000002B2 7000 moveq.l D0, 0x00
000002B4 1006 move.b D0, D6
000002B6 2F00 move.l -[A7], D0
000002B8 7000 moveq.l D0, 0x00
000002BA 2F00 move.l -[A7], D0
000002BC 4EBA 3A3A jsr [PC + 0x3A3A /* 00003CF8 */]
000002C0 3E00 move.w D7, D0
000002C2 504F addq.w A7, 8
000002C4 6700 01DC beq +0x1DE /* 000004A2 */
000002C8 48C7 ext.l D7
000002CA 2F07 move.l -[A7], D7
000002CC 7000 moveq.l D0, 0x00
000002CE 2F00 move.l -[A7], D0
000002D0 486D EBCE pea.l [A5 - 0x1432]
000002D4 2F0C move.l -[A7], A4
000002D6 4EBA 1C10 jsr [PC + 0x1C10 /* 00001EE8 */]
000002DA 7001 moveq.l D0, 0x01
000002DC 4FEF 0010 lea.l A7, [A7 + 0x10]
000002E0 6000 0254 bra +0x256 /* 00000536 */
label000002E4:
000002E4 3D7C 004B FEB2 move.w [A6 - 0x14E], 0x4B /* 'K' */
000002EA 3D7C 004B FEB4 move.w [A6 - 0x14C], 0x4B /* 'K' */
000002F0 422E FF00 clr.b [A6 - 0x100]
000002F4 4A06 tst.b D6
000002F6 671E beq +0x20 /* 00000316 */
000002F8 2F2E FEB2 move.l -[A7], [A6 - 0x14E]
000002FC 2F0B move.l -[A7], A3
000002FE 7000 moveq.l D0, 0x00
00000300 2F00 move.l -[A7], D0
00000302 72FF moveq.l D1, 0xFFFFFFFF
00000304 3F01 move.w -[A7], D1
00000306 2F00 move.l -[A7], D0
00000308 2F00 move.l -[A7], D0
0000030A 486E FEB6 pea.l [A6 - 0x14A]
0000030E 3F3C 0002 move.w -[A7], 0x2
00000312 A9EA trap Pack3
00000314 6018 bra +0x1A /* 0000032E */
label00000316:
00000316 2F2E FEB2 move.l -[A7], [A6 - 0x14E]
0000031A 2F0B move.l -[A7], A3
0000031C 486E FF00 pea.l [A6 - 0x100]
00000320 7000 moveq.l D0, 0x00
00000322 2F00 move.l -[A7], D0
00000324 486E FEB6 pea.l [A6 - 0x14A]
00000328 3F3C 0001 move.w -[A7], 0x1
0000032C A9EA trap Pack3
label0000032E:
0000032E 4A2E FEB6 tst.b [A6 - 0x14A]
00000332 6606 bne +0x8 /* 0000033A */
00000334 7001 moveq.l D0, 0x01
00000336 6000 01FE bra +0x200 /* 00000536 */
label0000033A:
0000033A 7000 moveq.l D0, 0x00
0000033C 2B40 EF70 move.l [A5 - 0x1090], D0
00000340 41EE FEC0 lea.l A0, [A6 - 0x140]
00000344 2B48 EF76 move.l [A5 - 0x108A], A0
00000348 3B6E FEBC EF7A move.w [A5 - 0x1086], [A6 - 0x144]
0000034E 422D EF7E clr.b [A5 - 0x1082]
00000352 2B40 EF94 move.l [A5 - 0x106C], D0
00000356 426D EF80 clr.w [A5 - 0x1080]
0000035A 4A06 tst.b D6
0000035C 6720 beq +0x22 /* 0000037E */
0000035E 1B7C 0001 EF7F move.b [A5 - 0x1081], 0x1
00000364 7000 moveq.l D0, 0x00
00000366 2B40 EF80 move.l [A5 - 0x1080], D0
0000036A 558F subq.l A7, 2
0000036C 486D EF64 pea.l [A5 - 0x109C]
00000370 7000 moveq.l D0, 0x00
00000372 1F00 move.b -[A7], D0
00000374 4EBA 505A jsr [PC + 0x505A /* 000053D0 */]
00000378 3E1F move.w D7, [A7]+
0000037A 6000 00CE bra +0xD0 /* 0000044A */
label0000037E:
0000037E 558F subq.l A7, 2
00000380 486D EF64 pea.l [A5 - 0x109C]
00000384 7000 moveq.l D0, 0x00
00000386 1F00 move.b -[A7], D0
00000388 4EBA 506A jsr [PC + 0x506A /* 000053F4 */]
0000038C 3E1F move.w D7, [A7]+
0000038E 6708 beq +0xA /* 00000398 */
00000390 0C47 FFD0 cmpi.w D7, 0xFFD0
00000394 6600 00B4 bne +0xB6 /* 0000044A */
label00000398:
00000398 558F subq.l A7, 2
0000039A 486D EF64 pea.l [A5 - 0x109C]
0000039E 7000 moveq.l D0, 0x00
000003A0 1F00 move.b -[A7], D0
000003A2 4EBA 5074 jsr [PC + 0x5074 /* 00005418 */]
000003A6 4A5F tst.w [A7]+
000003A8 6720 beq +0x22 /* 000003CA */
000003AA 302D EF74 move.w D0, [A5 - 0x108C]
000003AE 48C0 ext.l D0
000003B0 2F00 move.l -[A7], D0
000003B2 486E FEC0 pea.l [A6 - 0x140]
000003B6 486D EBD8 pea.l [A5 - 0x1428]
000003BA 2F0C move.l -[A7], A4
000003BC 4EBA 1B2A jsr [PC + 0x1B2A /* 00001EE8 */]
000003C0 7001 moveq.l D0, 0x01
000003C2 4FEF 0010 lea.l A7, [A7 + 0x10]
000003C6 6000 016E bra +0x170 /* 00000536 */
label000003CA:
000003CA 7004 moveq.l D0, 0x04
000003CC 2F00 move.l -[A7], D0
000003CE 486D EBE6 pea.l [A5 - 0x141A]
000003D2 486D EF88 pea.l [A5 - 0x1078]
000003D6 4EAD 0172 jsr [A5 + 0x172]
000003DA 7004 moveq.l D0, 0x04
000003DC 2F00 move.l -[A7], D0
000003DE 486D EBEC pea.l [A5 - 0x1414]
000003E2 486D EF84 pea.l [A5 - 0x107C]
000003E6 4EAD 0172 jsr [A5 + 0x172]
000003EA 41EE FEC0 lea.l A0, [A6 - 0x140]
000003EE 2B48 EF76 move.l [A5 - 0x108A], A0
000003F2 7000 moveq.l D0, 0x00
000003F4 2B40 EF94 move.l [A5 - 0x106C], D0
000003F8 558F subq.l A7, 2
000003FA 486D EF64 pea.l [A5 - 0x109C]
000003FE 7000 moveq.l D0, 0x00
00000400 1F00 move.b -[A7], D0
00000402 4EBA 5026 jsr [PC + 0x5026 /* 0000542A */]
00000406 4A5F tst.w [A7]+
00000408 4FEF 0018 lea.l A7, [A7 + 0x18]
0000040C 6720 beq +0x22 /* 0000042E */
0000040E 302D EF74 move.w D0, [A5 - 0x108C]
00000412 48C0 ext.l D0
00000414 2F00 move.l -[A7], D0
00000416 486E FEC0 pea.l [A6 - 0x140]
0000041A 486D EBF2 pea.l [A5 - 0x140E]
0000041E 2F0C move.l -[A7], A4
00000420 4EBA 1AC6 jsr [PC + 0x1AC6 /* 00001EE8 */]
00000424 7001 moveq.l D0, 0x01
00000426 4FEF 0010 lea.l A7, [A7 + 0x10]
0000042A 6000 010A bra +0x10C /* 00000536 */
label0000042E:
0000042E 1B7C 0002 EF7F move.b [A5 - 0x1081], 0x2
00000434 7000 moveq.l D0, 0x00
00000436 2B40 EF80 move.l [A5 - 0x1080], D0
0000043A 558F subq.l A7, 2
0000043C 486D EF64 pea.l [A5 - 0x109C]
00000440 7000 moveq.l D0, 0x00
00000442 1F00 move.b -[A7], D0
00000444 4EBA 4F8A jsr [PC + 0x4F8A /* 000053D0 */]
00000448 3E1F move.w D7, [A7]+
label0000044A:
0000044A 4A47 tst.w D7
0000044C 671C beq +0x1E /* 0000046A */
0000044E 48C7 ext.l D7
00000450 2F07 move.l -[A7], D7
00000452 486E FEC0 pea.l [A6 - 0x140]
00000456 486D EC00 pea.l [A5 - 0x1400]
0000045A 2F0C move.l -[A7], A4
0000045C 4EBA 1A8A jsr [PC + 0x1A8A /* 00001EE8 */]
00000460 7001 moveq.l D0, 0x01
00000462 4FEF 0010 lea.l A7, [A7 + 0x10]
00000466 6000 00CE bra +0xD0 /* 00000536 */
label0000046A:
0000046A 4A06 tst.b D6
0000046C 6634 bne +0x36 /* 000004A2 */
0000046E 7000 moveq.l D0, 0x00
00000470 2B40 EF80 move.l [A5 - 0x1080], D0
00000474 558F subq.l A7, 2
00000476 486D EF64 pea.l [A5 - 0x109C]
0000047A 7000 moveq.l D0, 0x00
0000047C 1F00 move.b -[A7], D0
0000047E 4EBA 4CE2 jsr [PC + 0x4CE2 /* 00005162 */]
00000482 3E1F move.w D7, [A7]+
00000484 671C beq +0x1E /* 000004A2 */
00000486 48C7 ext.l D7
00000488 2F07 move.l -[A7], D7
0000048A 486E FEC0 pea.l [A6 - 0x140]
0000048E 486D EC16 pea.l [A5 - 0x13EA]
00000492 2F0C move.l -[A7], A4
00000494 4EBA 1A52 jsr [PC + 0x1A52 /* 00001EE8 */]
00000498 7001 moveq.l D0, 0x01
0000049A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000049E 6000 0096 bra +0x98 /* 00000536 */
label000004A2:
000004A2 3B7C 0001 EF90 move.w [A5 - 0x1070], 0x1
000004A8 7000 moveq.l D0, 0x00
000004AA 2B40 EF92 move.l [A5 - 0x106E], D0
000004AE 202D F46A move.l D0, [A5 - 0xB96]
000004B2 A11E trap NewPtr, flags=1
000004B4 2B48 EFEA move.l [A5 - 0x1016], A0
000004B8 6640 bne +0x42 /* 000004FA */
000004BA 3038 0220 move.w D0, [0x00000220 /* MemErr */]
000004BE 48C0 ext.l D0
000004C0 2F00 move.l -[A7], D0
000004C2 486D EC20 pea.l [A5 - 0x13E0]
000004C6 486D EC2A pea.l [A5 - 0x13D6]
000004CA 2F0C move.l -[A7], A4
000004CC 4EBA 1A1A jsr [PC + 0x1A1A /* 00001EE8 */]
000004D0 4A2D F477 tst.b [A5 - 0xB89]
000004D4 4FEF 0010 lea.l A7, [A7 + 0x10]
000004D8 6706 beq +0x8 /* 000004E0 */
000004DA 4EBA 3D08 jsr [PC + 0x3D08 /* 000041E4 */]
000004DE 6016 bra +0x18 /* 000004F6 */
label000004E0:
000004E0 4A2D F464 tst.b [A5 - 0xB9C]
000004E4 6610 bne +0x12 /* 000004F6 */
000004E6 558F subq.l A7, 2
000004E8 486D EF64 pea.l [A5 - 0x109C]
000004EC 7000 moveq.l D0, 0x00
000004EE 1F00 move.b -[A7], D0
000004F0 4EBA 4C04 jsr [PC + 0x4C04 /* 000050F6 */]
000004F4 544F addq.w A7, 2
label000004F6:
000004F6 7001 moveq.l D0, 0x01
000004F8 603C bra +0x3E /* 00000536 */
label000004FA:
000004FA 2B6D EFEA EFE6 move.l [A5 - 0x101A], [A5 - 0x1016]
00000500 222D F466 move.l D1, [A5 - 0xB9A]
00000504 2001 move.l D0, D1
00000506 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
00000508 0200 4840 andi.b D0, 0x40 /* '@' */
0000050C C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
0000050E 0200 4840 andi.b D0, 0x40 /* '@' */
00000512 4240 clr.w D0
00000514 D280 add.l D1, D0
00000516 D2AD EFEA add.l D1, [A5 - 0x1016]
0000051A 2B41 EFE2 move.l [A5 - 0x101E], D1
0000051E 3B6D EF7C EFDE move.w [A5 - 0x1022], [A5 - 0x1084]
00000524 1B46 EFE0 move.b [A5 - 0x1020], D6
00000528 670A beq +0xC /* 00000534 */
0000052A 2B6D EFEA EFE2 move.l [A5 - 0x101E], [A5 - 0x1016]
00000530 4EBA 0358 jsr [PC + 0x358 /* 0000088A */]
label00000534:
00000534 7000 moveq.l D0, 0x00
label00000536:
00000536 4CEE 18C0 FEA2 movem.l A4,A3,D7,D6, [A6 - 0x15E]
0000053C 4E5E unlink A6
0000053E 4E75 rts
00000540 8B4F 7065 pack -[A5], -[A7], 0x7065
00000544 6E41 bgt +0x43 /* 00000587 */
00000546 7263 moveq.l D1, 0x63
00000548 6869 bvc +0x6B /* 000005B3 */
0000054A 7665 moveq.l D3, 0x65
0000054C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000054E-00000558
fn0000054E:
0000054E 4E56 0000 link A6, 0
00000552 2B6E 0008 EF60 move.l [A5 - 0x10A0], [A6 + 0x8]
// end alternate branch 0000054E-00000558
fn0000054E: // (misaligned)
00000550 0000 2B6E ori.b D0, 0x6E /* 'n' */
00000554 0008 EF60 ori.b A0, 0x60 /* '`' */
00000558 222D ED58 move.l D1, [A5 - 0x12A8]
0000055C 2001 move.l D0, D1
0000055E C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
00000560 0200 4840 andi.b D0, 0x40 /* '@' */
00000564 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
00000566 0200 4840 andi.b D0, 0x40 /* '@' */
0000056A 4240 clr.w D0
0000056C D280 add.l D1, D0
0000056E 202D EFE6 move.l D0, [A5 - 0x101A]
00000572 D081 add.l D0, D1
00000574 90AD EFEA sub.l D0, [A5 - 0x1016]
00000578 7209 moveq.l D1, 0x09
0000057A E2A0 asr D0, D1
0000057C 2B40 ED5C move.l [A5 - 0x12A4], D0
00000580 4E5E unlink A6
00000582 4E75 rts
00000584 8753 or.w [A3], D3
00000586 6176 bsr +0x78 /* 000005FE */
label00000587: // (misaligned)
00000588 6552 bcs +0x54 /* 000005DC */
0000058A 6563 bcs +0x65 /* 000005EF */
0000058C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000058E-00000594
fn0000058E:
0000058E 4E56 0000 link A6, 0
00000592 2F07 move.l -[A7], D7
// end alternate branch 0000058E-00000594
fn0000058E: // (misaligned)
00000590 0000 2F07 ori.b D0, 0x7
00000594 4A2D F477 tst.b [A5 - 0xB89]
00000598 6736 beq +0x38 /* 000005D0 */
0000059A 2F2D F46A move.l -[A7], [A5 - 0xB96]
0000059E 206D EFEA movea.l A0, [A5 - 0x1016]
000005A2 2F08 move.l -[A7], A0
000005A4 4EBA 3E3A jsr [PC + 0x3E3A /* 000043E0 */]
000005A8 2E00 move.l D7, D0
000005AA BEAD F46A cmp.l D7, [A5 - 0xB96]
000005AE 504F addq.w A7, 8
000005B0 6604 bne +0x6 /* 000005B6 */
000005B2 7000 moveq.l D0, 0x00
label000005B3: // (misaligned)
000005B4 607E bra +0x80 /* 00000634 */
label000005B6:
000005B6 2F07 move.l -[A7], D7
000005B8 486D EC32 pea.l [A5 - 0x13CE]
000005BC 486D EC42 pea.l [A5 - 0x13BE]
000005C0 486D EC4E pea.l [A5 - 0x13B2]
000005C4 4EBA 1922 jsr [PC + 0x1922 /* 00001EE8 */]
000005C8 7001 moveq.l D0, 0x01
000005CA 4FEF 0010 lea.l A7, [A7 + 0x10]
000005CE 6064 bra +0x66 /* 00000634 */
label000005D0:
000005D0 206D EFEA movea.l A0, [A5 - 0x1016]
000005D4 2B48 EF84 move.l [A5 - 0x107C], A0
000005D8 2B6D F46A EF88 move.l [A5 - 0x1078], [A5 - 0xB96]
// begin alternate branch 000005DC-000005DE
label000005DC:
000005DC EF88 lsl D0, 7
// end alternate branch 000005DC-000005DE
label000005DC: // (misaligned)
000005DE 558F subq.l A7, 2
000005E0 486D EF64 pea.l [A5 - 0x109C]
000005E4 7000 moveq.l D0, 0x00
000005E6 1F00 move.b -[A7], D0
000005E8 4EBA 4B30 jsr [PC + 0x4B30 /* 0000511A */]
000005EC 3E1F move.w D7, [A7]+
000005EE 426D EF90 clr.w [A5 - 0x1070]
label000005EF: // (misaligned)
000005F2 4A47 tst.w D7
000005F4 660E bne +0x10 /* 00000604 */
000005F6 202D EF8C move.l D0, [A5 - 0x1074]
000005FA B0AD F46A cmp.l D0, [A5 - 0xB96]
fn000005FE:
000005FE 6604 bne +0x6 /* 00000604 */
00000600 7000 moveq.l D0, 0x00
00000602 6030 bra +0x32 /* 00000634 */
label00000604:
00000604 202D EF8C move.l D0, [A5 - 0x1074]
00000608 B0AD F46A cmp.l D0, [A5 - 0xB96]
0000060C 6606 bne +0x8 /* 00000614 */
0000060E 0C47 FFDE cmpi.w D7, 0xFFDE
00000612 6606 bne +0x8 /* 0000061A */
label00000614:
00000614 4EBA 19E6 jsr [PC + 0x19E6 /* 00001FFC */]
00000618 6018 bra +0x1A /* 00000632 */
label0000061A:
0000061A 48C7 ext.l D7
0000061C 2F07 move.l -[A7], D7
0000061E 486D EC58 pea.l [A5 - 0x13A8]
00000622 486D EC68 pea.l [A5 - 0x1398]
00000626 486D EC72 pea.l [A5 - 0x138E]
0000062A 4EBA 18BC jsr [PC + 0x18BC /* 00001EE8 */]
0000062E 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000632:
00000632 7001 moveq.l D0, 0x01
label00000634:
00000634 2E2E FFFC move.l D7, [A6 - 0x4]
00000638 4E5E unlink A6
0000063A 4E75 rts
0000063C 8746 6C57 pack D3, D6, 0x6C57
00000640 7269 moveq.l D1, 0x69
00000642 7465 moveq.l D2, 0x65
00000644 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000646-0000064A
fn00000646:
00000646 4E56 FFB0 link A6, -0x0050
// end alternate branch 00000646-0000064A
fn00000646: // (misaligned)
00000648 FFB0 .extension 0xFB0 // unimplemented
0000064A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000064E 49ED EC7C lea.l A4, [A5 - 0x1384]
00000652 4AAD EF60 tst.l [A5 - 0x10A0]
00000656 672C beq +0x2E /* 00000684 */
00000658 206D EF60 movea.l A0, [A5 - 0x10A0]
0000065C 2010 move.l D0, [A0]
0000065E B0AD EFE6 cmp.l D0, [A5 - 0x101A]
00000662 6520 bcs +0x22 /* 00000684 */
00000664 2010 move.l D0, [A0]
00000666 B0AD EFE2 cmp.l D0, [A5 - 0x101E]
0000066A 6418 bcc +0x1A /* 00000684 */
0000066C 2050 movea.l A0, [A0]
0000066E 43ED ED60 lea.l A1, [A5 - 0x12A0]
00000672 707F moveq.l D0, 0x7F
label00000674:
00000674 22D8 move.l [A1]+, [A0]+
00000676 51C8 FFFC dbf D0, -0x6 /* 00000674 */
0000067A 41ED ED60 lea.l A0, [A5 - 0x12A0]
0000067E 226D EF60 movea.l A1, [A5 - 0x10A0]
00000682 2288 move.l [A1], A0
label00000684:
00000684 4A2D F477 tst.b [A5 - 0xB89]
00000688 6754 beq +0x56 /* 000006DE */
0000068A 2F2D F46A move.l -[A7], [A5 - 0xB96]
0000068E 206D EFEA movea.l A0, [A5 - 0x1016]
00000692 2F08 move.l -[A7], A0
00000694 4EBA 3D06 jsr [PC + 0x3D06 /* 0000439C */]
00000698 2A00 move.l D5, D0
0000069A BAAD F46A cmp.l D5, [A5 - 0xB96]
0000069E 504F addq.w A7, 8
000006A0 6606 bne +0x8 /* 000006A8 */
000006A2 7000 moveq.l D0, 0x00
000006A4 6000 01D0 bra +0x1D2 /* 00000876 */
label000006A8:
000006A8 4A85 tst.l D5
000006AA 6C1E bge +0x20 /* 000006CA */
000006AC 48C7 ext.l D7
000006AE 2F07 move.l -[A7], D7
000006B0 486D EC84 pea.l [A5 - 0x137C]
000006B4 486D EC92 pea.l [A5 - 0x136E]
000006B8 486D EC9C pea.l [A5 - 0x1364]
000006BC 4EBA 182A jsr [PC + 0x182A /* 00001EE8 */]
000006C0 7001 moveq.l D0, 0x01
000006C2 4FEF 0010 lea.l A7, [A7 + 0x10]
000006C6 6000 01AE bra +0x1B0 /* 00000876 */
label000006CA:
000006CA 206D EFEA movea.l A0, [A5 - 0x1016]
000006CE 2648 movea.l A3, A0
000006D0 D7C5 add.l A3, D5
000006D2 2C2D F46A move.l D6, [A5 - 0xB96]
000006D6 9C85 sub.l D6, D5
000006D8 2B45 EF8C move.l [A5 - 0x1074], D5
000006DC 6070 bra +0x72 /* 0000074E */
label000006DE:
000006DE 206D EFEA movea.l A0, [A5 - 0x1016]
000006E2 2B48 EF84 move.l [A5 - 0x107C], A0
000006E6 2B6D F46A EF88 move.l [A5 - 0x1078], [A5 - 0xB96]
000006EC 558F subq.l A7, 2
000006EE 486D EF64 pea.l [A5 - 0x109C]
000006F2 7000 moveq.l D0, 0x00
000006F4 1F00 move.b -[A7], D0
000006F6 4EBA 4A10 jsr [PC + 0x4A10 /* 00005108 */]
000006FA 3E1F move.w D7, [A7]+
000006FC 426D EF90 clr.w [A5 - 0x1070]
00000700 4A47 tst.w D7
00000702 6610 bne +0x12 /* 00000714 */
00000704 202D EF8C move.l D0, [A5 - 0x1074]
00000708 B0AD F46A cmp.l D0, [A5 - 0xB96]
0000070C 6606 bne +0x8 /* 00000714 */
0000070E 7000 moveq.l D0, 0x00
00000710 6000 0164 bra +0x166 /* 00000876 */
label00000714:
00000714 4A47 tst.w D7
00000716 6724 beq +0x26 /* 0000073C */
00000718 0C47 FFD9 cmpi.w D7, 0xFFD9
0000071C 671E beq +0x20 /* 0000073C */
0000071E 48C7 ext.l D7
00000720 2F07 move.l -[A7], D7
00000722 486D ECA8 pea.l [A5 - 0x1358]
00000726 486D ECB6 pea.l [A5 - 0x134A]
0000072A 486D ECBE pea.l [A5 - 0x1342]
0000072E 4EBA 17B8 jsr [PC + 0x17B8 /* 00001EE8 */]
00000732 7001 moveq.l D0, 0x01
00000734 4FEF 0010 lea.l A7, [A7 + 0x10]
00000738 6000 013C bra +0x13E /* 00000876 */
label0000073C:
0000073C 206D EFEA movea.l A0, [A5 - 0x1016]
00000740 266D EF8C movea.l A3, [A5 - 0x1074]
00000744 D7C8 add.l A3, A0
00000746 2C2D F46A move.l D6, [A5 - 0xB96]
0000074A 9CAD EF8C sub.l D6, [A5 - 0x1074]
label0000074E:
0000074E 2006 move.l D0, D6
00000750 0280 0000 01FF andi.l D0, 0x1FF
00000756 6676 bne +0x78 /* 000007CE */
00000758 4A2D EB80 tst.b [A5 - 0x1480]
0000075C 6640 bne +0x42 /* 0000079E */
0000075E 4AAD ED58 tst.l [A5 - 0x12A8]
00000762 663A bne +0x3C /* 0000079E */
00000764 202D EF8C move.l D0, [A5 - 0x1074]
00000768 223C 0000 0200 move.l D1, 0x200
0000076E 4EBA 47E2 jsr [PC + 0x47E2 /* 00004F52 */]
00000772 2F00 move.l -[A7], D0
00000774 486D ECCA pea.l [A5 - 0x1336]
00000778 486E FFB1 pea.l [A6 - 0x4F]
0000077C 4EAD 01A2 jsr [A5 + 0x1A2]
00000780 486E FFB1 pea.l [A6 - 0x4F]
00000784 4EAD 018A jsr [A5 + 0x18A]
00000788 1D40 FFB0 move.b [A6 - 0x50], D0
0000078C 7000 moveq.l D0, 0x00
0000078E 2F00 move.l -[A7], D0
00000790 486E FFB0 pea.l [A6 - 0x50]
00000794 2F0C move.l -[A7], A4
00000796 4EBA 17EA jsr [PC + 0x17EA /* 00001F82 */]
0000079A 4FEF 001C lea.l A7, [A7 + 0x1C]
label0000079E:
0000079E 202D F46A move.l D0, [A5 - 0xB96]
000007A2 9086 sub.l D0, D6
000007A4 223C 0000 0200 move.l D1, 0x200
000007AA 4EBA 47B6 jsr [PC + 0x47B6 /* 00004F62 */]
000007AE 2200 move.l D1, D0
000007B0 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
000007B2 0200 4841 andi.b D0, 0x41 /* 'A' */
000007B6 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
000007B8 0200 4841 andi.b D0, 0x41 /* 'A' */
000007BC 4241 clr.w D1
000007BE D081 add.l D0, D1
000007C0 D0AD EFEA add.l D0, [A5 - 0x1016]
000007C4 2B40 EFE2 move.l [A5 - 0x101E], D0
000007C8 7000 moveq.l D0, 0x00
000007CA 6000 00AA bra +0xAC /* 00000876 */
label000007CE:
000007CE 4A2D EB80 tst.b [A5 - 0x1480]
000007D2 6700 008E beq +0x90 /* 00000862 */
000007D6 4A86 tst.l D6
000007D8 6F00 009C ble +0x9E /* 00000876 */
000007DC 4A2D F477 tst.b [A5 - 0xB89]
000007E0 6716 beq +0x18 /* 000007F8 */
000007E2 7000 moveq.l D0, 0x00
000007E4 2F00 move.l -[A7], D0
000007E6 486D ECE2 pea.l [A5 - 0x131E]
000007EA 2F0C move.l -[A7], A4
000007EC 4EBA 1794 jsr [PC + 0x1794 /* 00001F82 */]
000007F0 7001 moveq.l D0, 0x01
000007F2 4FEF 000C lea.l A7, [A7 + 0xC]
000007F6 607E bra +0x80 /* 00000876 */
label000007F8:
000007F8 2B4B EF84 move.l [A5 - 0x107C], A3
000007FC 2B46 EF88 move.l [A5 - 0x1078], D6
00000800 558F subq.l A7, 2
00000802 486D EF64 pea.l [A5 - 0x109C]
00000806 7000 moveq.l D0, 0x00
00000808 1F00 move.b -[A7], D0
0000080A 4EBA 48FC jsr [PC + 0x48FC /* 00005108 */]
0000080E 3E1F move.w D7, [A7]+
00000810 6722 beq +0x24 /* 00000834 */
00000812 0C47 FFD9 cmpi.w D7, 0xFFD9
00000816 671C beq +0x1E /* 00000834 */
00000818 48C7 ext.l D7
0000081A 2F07 move.l -[A7], D7
0000081C 486D ECFA pea.l [A5 - 0x1306]
00000820 486D ED0A pea.l [A5 - 0x12F6]
00000824 486D ED12 pea.l [A5 - 0x12EE]
00000828 4EBA 16BE jsr [PC + 0x16BE /* 00001EE8 */]
0000082C 7001 moveq.l D0, 0x01
0000082E 4FEF 0010 lea.l A7, [A7 + 0x10]
00000832 6042 bra +0x44 /* 00000876 */
label00000834:
00000834 4AAD EF8C tst.l [A5 - 0x1074]
00000838 6706 beq +0x8 /* 00000840 */
0000083A 0C47 FFD9 cmpi.w D7, 0xFFD9
0000083E 6616 bne +0x18 /* 00000856 */
label00000840:
00000840 7000 moveq.l D0, 0x00
00000842 2F00 move.l -[A7], D0
00000844 486D ED1E pea.l [A5 - 0x12E2]
00000848 2F0C move.l -[A7], A4
0000084A 4EBA 1736 jsr [PC + 0x1736 /* 00001F82 */]
0000084E 7001 moveq.l D0, 0x01
00000850 4FEF 000C lea.l A7, [A7 + 0xC]
00000854 6020 bra +0x22 /* 00000876 */
label00000856:
00000856 9CAD EF8C sub.l D6, [A5 - 0x1074]
0000085A D7ED EF8C add.l A3, [A5 - 0x1074]
0000085E 6000 FEEE bra -0x110 /* 0000074E */
label00000862:
00000862 7000 moveq.l D0, 0x00
00000864 2F00 move.l -[A7], D0
00000866 486D ED3A pea.l [A5 - 0x12C6]
0000086A 2F0C move.l -[A7], A4
0000086C 4EBA 1714 jsr [PC + 0x1714 /* 00001F82 */]
00000870 7001 moveq.l D0, 0x01
00000872 4FEF 000C lea.l A7, [A7 + 0xC]
label00000876:
00000876 4CEE 18E0 FF9C movem.l A4,A3,D7,D6,D5, [A6 - 0x64]
0000087C 4E5E unlink A6
0000087E 4E75 rts
00000880 8646 or.w D3, D6
00000882 6C52 bge +0x54 /* 000008D6 */
00000884 6561 bcs +0x63 /* 000008E7 */
00000886 6400 0000 bcc +0x2 /* 00000888 */
// begin alternate branch 00000888-0000089A
label00000888:
00000888 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn0000088A: // (misaligned)
0000088C 0000 202D ori.b D0, 0x2D /* '-' */
00000890 EFE2 90AD bfins -[A2] {D6:0}, D2
00000894 EFEA 7209 E2A0 bfins [A2 - 0x1D60] {D5:D0}, D0
// end alternate branch 00000888-0000089A
label00000888: // (misaligned)
fn0000088A:
0000088A 4E56 0000 link A6, 0
0000088E 202D EFE2 move.l D0, [A5 - 0x101E]
00000892 90AD EFEA sub.l D0, [A5 - 0x1016]
00000896 7209 moveq.l D1, 0x09
00000898 E2A0 asr D0, D1
0000089A D1AD ED58 add.l [A5 - 0x12A8], D0
0000089E 2B6D EFEA EFE6 move.l [A5 - 0x101A], [A5 - 0x1016]
000008A4 222D F466 move.l D1, [A5 - 0xB9A]
000008A8 2001 move.l D0, D1
000008AA C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
000008AC 0200 4840 andi.b D0, 0x40 /* '@' */
000008B0 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
000008B2 0200 4840 andi.b D0, 0x40 /* '@' */
000008B6 4240 clr.w D0
000008B8 D280 add.l D1, D0
000008BA D2AD EFEA add.l D1, [A5 - 0x1016]
000008BE 2B41 EFE2 move.l [A5 - 0x101E], D1
000008C2 4A2D EFE0 tst.b [A5 - 0x1020]
000008C6 6606 bne +0x8 /* 000008CE */
000008C8 4EBA FCC4 jsr [PC - 0x33C /* 0000058E */]
000008CC 6004 bra +0x6 /* 000008D2 */
label000008CE:
000008CE 4EBA FD76 jsr [PC - 0x28A /* 00000646 */]
label000008D2:
000008D2 4E5E unlink A6
000008D4 4E75 rts
label000008D6:
000008D6 8C46 or.w D6, D6
000008D8 6C75 bge +0x77 /* 0000094F */
000008DA 7368 moveq.l D1, 0x68
000008DC 4172 6368 6976 chk.w D0, [A2 + 0x6976]
000008E2 6500 0000 bcs +0x2 /* 000008E4 */
// begin alternate branch 000008E4-000008EA
label000008E4:
000008E4 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000008E6: // (misaligned)
label000008E7: // (misaligned)
000008E8 FFB0 .extension 0xFB0 // unimplemented
// end alternate branch 000008E4-000008EA
label000008E4: // (misaligned)
fn000008E6:
000008E6 4E56 FFB0 link A6, -0x0050
label000008E7: // (misaligned)
000008EA 4A2D EFE0 tst.b [A5 - 0x1020]
000008EE 6604 bne +0x6 /* 000008F4 */
000008F0 4EBA FF98 jsr [PC - 0x68 /* 0000088A */]
label000008F4:
000008F4 206D EFEA movea.l A0, [A5 - 0x1016]
000008F8 A01F trap DisposPtr/DisposePtr
000008FA 4A2D F464 tst.b [A5 - 0xB9C]
000008FE 673C beq +0x3E /* 0000093C */
00000900 7050 moveq.l D0, 0x50
00000902 2F00 move.l -[A7], D0
00000904 7200 moveq.l D1, 0x00
00000906 2F01 move.l -[A7], D1
00000908 486E FFB0 pea.l [A6 - 0x50]
0000090C 4EAD 017A jsr [A5 + 0x17A]
00000910 7000 moveq.l D0, 0x00
00000912 2D40 FFBC move.l [A6 - 0x44], D0
00000916 3D6D EF7A FFC6 move.w [A6 - 0x3A], [A5 - 0x1086]
0000091C 3D6D EF7C FFC8 move.w [A6 - 0x38], [A5 - 0x1084]
00000922 3D7C 0007 FFCA move.w [A6 - 0x36], 0x7
00000928 558F subq.l A7, 2
0000092A 486E FFB0 pea.l [A6 - 0x50]
0000092E 7000 moveq.l D0, 0x00
00000930 1F00 move.b -[A7], D0
00000932 4EBA 47F8 jsr [PC + 0x47F8 /* 0000512C */]
00000936 4FEF 000E lea.l A7, [A7 + 0xE]
0000093A 6022 bra +0x24 /* 0000095E */
label0000093C:
0000093C 4A2D F477 tst.b [A5 - 0xB89]
00000940 6706 beq +0x8 /* 00000948 */
00000942 4EBA 38A0 jsr [PC + 0x38A0 /* 000041E4 */]
00000946 6016 bra +0x18 /* 0000095E */
label00000948:
00000948 4A6D EFDE tst.w [A5 - 0x1022]
0000094C 6710 beq +0x12 /* 0000095E */
0000094E 558F subq.l A7, 2
label0000094F: // (misaligned)
00000950 486D EF64 pea.l [A5 - 0x109C]
00000954 7000 moveq.l D0, 0x00
00000956 1F00 move.b -[A7], D0
00000958 4EBA 479C jsr [PC + 0x479C /* 000050F6 */]
0000095C 544F addq.w A7, 2
label0000095E:
0000095E 426D EFDE clr.w [A5 - 0x1022]
00000962 4E5E unlink A6
00000964 4E75 rts
00000966 8C43 or.w D6, D3
00000968 6C6F bge +0x71 /* 000009D9 */
0000096A 7365 moveq.l D1, 0x65
0000096C 4172 6368 6976 chk.w D0, [A2 + 0x6976]
00000972 6500 0000 bcs +0x2 /* 00000974 */
// begin alternate branch 00000974-0000097A
label00000974:
00000974 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000976: // (misaligned)
00000978 FFFC .extension 0xFFC // unimplemented
// end alternate branch 00000974-0000097A
label00000974: // (misaligned)
fn00000976:
00000976 4E56 FFFC link A6, -0x0004
0000097A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000097E 3C2E 000A move.w D6, [A6 + 0xA]
00000982 286E 000C movea.l A4, [A6 + 0xC]
00000986 204C movea.l A0, A4
00000988 47E8 0001 lea.l A3, [A0 + 0x1]
0000098C 4214 clr.b [A4]
0000098E 6048 bra +0x4A /* 000009D8 */
label00000990:
00000990 7001 moveq.l D0, 0x01
00000992 2D40 FFFC move.l [A6 - 0x4], D0
00000996 558F subq.l A7, 2
00000998 3F06 move.w -[A7], D6
0000099A 486E FFFC pea.l [A6 - 0x4]
0000099E 2F0B move.l -[A7], A3
000009A0 4EBA 482C jsr [PC + 0x482C /* 000051CE */]
000009A4 3E1F move.w D7, [A7]+
000009A6 6722 beq +0x24 /* 000009CA */
000009A8 0C47 FFD9 cmpi.w D7, 0xFFD9
000009AC 6734 beq +0x36 /* 000009E2 */
000009AE 48C7 ext.l D7
000009B0 2F07 move.l -[A7], D7
000009B2 7000 moveq.l D0, 0x00
000009B4 2F00 move.l -[A7], D0
000009B6 486D EFEE pea.l [A5 - 0x1012]
000009BA 486D EFF6 pea.l [A5 - 0x100A]
000009BE 4EBA 1528 jsr [PC + 0x1528 /* 00001EE8 */]
000009C2 70FF moveq.l D0, 0xFFFFFFFF
000009C4 4FEF 0010 lea.l A7, [A7 + 0x10]
000009C8 601E bra +0x20 /* 000009E8 */
label000009CA:
000009CA 5214 addq.b [A4], 1
000009CC 7000 moveq.l D0, 0x00
000009CE 1013 move.b D0, [A3]
000009D0 0C40 000D cmpi.w D0, 0xD /* '\r' */
000009D4 670C beq +0xE /* 000009E2 */
000009D6 524B addq.w A3, 1
label000009D8:
000009D8 7000 moveq.l D0, 0x00
label000009D9: // (misaligned)
000009DA 1014 move.b D0, [A4]
000009DC 0C00 00FF cmpi.b D0, 0xFF
000009E0 65AE bcs -0x50 /* 00000990 */
label000009E2:
000009E2 7000 moveq.l D0, 0x00
000009E4 1014 move.b D0, [A4]
000009E6 4A80 tst.l D0
label000009E8:
000009E8 4CEE 18C0 FFEC movem.l A4,A3,D7,D6, [A6 - 0x14]
000009EE 4E5E unlink A6
000009F0 4E75 rts
000009F2 8A52 or.w D5, [A2]
000009F4 6561 bcs +0x63 /* 00000A57 */
000009F6 6453 bcc +0x55 /* 00000A4B */
000009F8 7472 moveq.l D2, 0x72
000009FA 3235 3500 move.w D1, [A5 + <<invalid base displacement size>> + D3 * 4]
000009FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000A00-00000A04
fn00000A00:
00000A00 4E56 FEFA link A6, -0x0106
// end alternate branch 00000A00-00000A04
fn00000A00: // (misaligned)
00000A02 FEFA .extension 0xEFA // unimplemented
00000A04 48E7 0118 movem.l -[A7], D7,A3,A4
00000A08 266E 0010 movea.l A3, [A6 + 0x10]
00000A0C 49EE FEFC lea.l A4, [A6 - 0x104]
00000A10 41ED F002 lea.l A0, [A5 - 0xFFE]
00000A14 2D48 FFFC move.l [A6 - 0x4], A0
00000A18 558F subq.l A7, 2
00000A1A 2F0B move.l -[A7], A3
00000A1C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000A20 486E FEFA pea.l [A6 - 0x106]
00000A24 4EBA 474E jsr [PC + 0x474E /* 00005174 */]
00000A28 3E1F move.w D7, [A7]+
00000A2A 6718 beq +0x1A /* 00000A44 */
00000A2C 48C7 ext.l D7
00000A2E 2F07 move.l -[A7], D7
00000A30 2F0B move.l -[A7], A3
00000A32 486D F012 pea.l [A5 - 0xFEE]
00000A36 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000A3A 4EBA 14AC jsr [PC + 0x14AC /* 00001EE8 */]
00000A3E 4FEF 0010 lea.l A7, [A7 + 0x10]
00000A42 603A bra +0x3C /* 00000A7E */
label00000A44:
00000A44 4EBA 39D0 jsr [PC + 0x39D0 /* 00004416 */]
00000A48 600C bra +0xE /* 00000A56 */
label00000A4A:
00000A4A 2F0C move.l -[A7], A4
label00000A4B: // (misaligned)
00000A4C 486D F01A pea.l [A5 - 0xFE6]
00000A50 4EBA 3D3E jsr [PC + 0x3D3E /* 00004790 */]
00000A54 504F addq.w A7, 8
label00000A56:
00000A56 2F0C move.l -[A7], A4
label00000A57: // (misaligned)
00000A58 302E FEFA move.w D0, [A6 - 0x106]
00000A5C 48C0 ext.l D0
00000A5E 2F00 move.l -[A7], D0
00000A60 4EBA FF14 jsr [PC - 0xEC /* 00000976 */]
00000A64 4A80 tst.l D0
00000A66 504F addq.w A7, 8
00000A68 6EE0 bgt -0x1E /* 00000A4A */
00000A6A 7001 moveq.l D0, 0x01
00000A6C 2F00 move.l -[A7], D0
00000A6E 4EBA 3C06 jsr [PC + 0x3C06 /* 00004676 */]
00000A72 558F subq.l A7, 2
00000A74 3F2E FEFA move.w -[A7], [A6 - 0x106]
00000A78 4EBA 473A jsr [PC + 0x473A /* 000051B4 */]
00000A7C 5C4F addq.w A7, 6
label00000A7E:
00000A7E 4CEE 1880 FEEE movem.l A4,A3,D7, [A6 - 0x112]
00000A84 4E5E unlink A6
00000A86 4E75 rts
00000A88 8E50 or.w D7, [A0]
00000A8A 726F moveq.l D1, 0x6F
00000A8C 6365 bls +0x67 /* 00000AF3 */
00000A8E 7373 moveq.l D1, 0x73
00000A90 436D 6446 chk.w D1, [A5 + 0x6446]
00000A94 696C bvs +0x6E /* 00000B02 */
00000A96 6500 0000 bcs +0x2 /* 00000A98 */
// begin alternate branch 00000A98-00000A9E
label00000A98:
00000A98 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000A9A: // (misaligned)
00000A9C FEF4 .extension 0xEF4 // unimplemented
// end alternate branch 00000A98-00000A9E
label00000A98: // (misaligned)
fn00000A9A:
00000A9A 4E56 FEF4 link A6, -0x010C
00000A9E 2F07 move.l -[A7], D7
00000AA0 486E FEF4 pea.l [A6 - 0x10C]
00000AA4 486E FEF6 pea.l [A6 - 0x10A]
00000AA8 4EBA 4992 jsr [PC + 0x4992 /* 0000543C */]
00000AAC 4A6E FEF6 tst.w [A6 - 0x10A]
00000AB0 6604 bne +0x6 /* 00000AB6 */
00000AB2 7000 moveq.l D0, 0x00
00000AB4 6046 bra +0x48 /* 00000AFC */
label00000AB6:
00000AB6 7E01 moveq.l D7, 0x01
00000AB8 603A bra +0x3C /* 00000AF4 */
label00000ABA:
00000ABA 3F07 move.w -[A7], D7
00000ABC 486E FEF8 pea.l [A6 - 0x108]
00000AC0 4EBA 499E jsr [PC + 0x499E /* 00005460 */]
00000AC4 0CAE 5445 5854 FEFA cmpi.l [A6 - 0x106], 0x54455854 /* 'TEXT' */
00000ACC 661C bne +0x1E /* 00000AEA */
00000ACE 486E FF00 pea.l [A6 - 0x100]
00000AD2 302E FEFE move.w D0, [A6 - 0x102]
00000AD6 48C0 ext.l D0
00000AD8 2F00 move.l -[A7], D0
00000ADA 302E FEF8 move.w D0, [A6 - 0x108]
00000ADE 48C0 ext.l D0
00000AE0 2F00 move.l -[A7], D0
00000AE2 4EBA FF1C jsr [PC - 0xE4 /* 00000A00 */]
00000AE6 4FEF 000C lea.l A7, [A7 + 0xC]
label00000AEA:
00000AEA 3F07 move.w -[A7], D7
00000AEC 4EBA 49B8 jsr [PC + 0x49B8 /* 000054A6 */]
00000AF0 3007 move.w D0, D7
00000AF2 5247 addq.w D7, 1
label00000AF3: // (misaligned)
label00000AF4:
00000AF4 BE6E FEF6 cmp.w D7, [A6 - 0x10A]
00000AF8 6FC0 ble -0x3E /* 00000ABA */
00000AFA 7001 moveq.l D0, 0x01
label00000AFC:
00000AFC 2E2E FEF0 move.l D7, [A6 - 0x110]
00000B00 4E5E unlink A6
label00000B02:
00000B02 4E75 rts
00000B04 8743 6D64 pack D3, D3, 0x6D64
00000B08 4669 6C65 not.w [A1 + 0x6C65]
00000B0C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000B0E-00000B12
fn00000B0E:
00000B0E 4E56 FF94 link A6, -0x006C
// end alternate branch 00000B0E-00000B12
fn00000B0E: // (misaligned)
00000B10 FF94 .extension 0xF94 // unimplemented
00000B12 48E7 0108 movem.l -[A7], D7,A4
00000B16 4207 clr.b D7
00000B18 7000 moveq.l D0, 0x00
00000B1A 2F00 move.l -[A7], D0
00000B1C 486D F01E pea.l [A5 - 0xFE2]
00000B20 4EBA F6E0 jsr [PC - 0x920 /* 00000202 */]
00000B24 4A00 tst.b D0
00000B26 504F addq.w A7, 8
00000B28 6600 011C bne +0x11E /* 00000C46 */
00000B2C 6000 00F8 bra +0xFA /* 00000C26 */
label00000B30:
00000B30 7000 moveq.l D0, 0x00
00000B32 2B40 F0F8 move.l [A5 - 0xF08], D0
00000B36 422D F0FC clr.b [A5 - 0xF04]
00000B3A 706C moveq.l D0, 0x6C
00000B3C 2F00 move.l -[A7], D0
00000B3E 7200 moveq.l D1, 0x00
00000B40 2F01 move.l -[A7], D1
00000B42 486E FF94 pea.l [A6 - 0x6C]
00000B46 4EAD 017A jsr [A5 + 0x17A]
00000B4A 7000 moveq.l D0, 0x00
00000B4C 2D40 FFA0 move.l [A6 - 0x60], D0
00000B50 41ED F0FC lea.l A0, [A5 - 0xF04]
00000B54 2D48 FFA6 move.l [A6 - 0x5A], A0
00000B58 3D6D F1B8 FFAA move.w [A6 - 0x56], [A5 - 0xE48]
00000B5E 2D6D F1B4 FFC4 move.l [A6 - 0x3C], [A5 - 0xE4C]
00000B64 3D7C FFFF FFB0 move.w [A6 - 0x50], 0xFFFF
00000B6A 558F subq.l A7, 2
00000B6C 486E FF94 pea.l [A6 - 0x6C]
00000B70 7000 moveq.l D0, 0x00
00000B72 1F00 move.b -[A7], D0
00000B74 4EBA 4832 jsr [PC + 0x4832 /* 000053A8 */]
00000B78 4A5F tst.w [A7]+
00000B7A 4FEF 000C lea.l A7, [A7 + 0xC]
00000B7E 6720 beq +0x22 /* 00000BA0 */
00000B80 302E FFA4 move.w D0, [A6 - 0x5C]
00000B84 48C0 ext.l D0
00000B86 2F00 move.l -[A7], D0
00000B88 486D F0FC pea.l [A5 - 0xF04]
00000B8C 486D F030 pea.l [A5 - 0xFD0]
00000B90 486D F03E pea.l [A5 - 0xFC2]
00000B94 4EBA 1352 jsr [PC + 0x1352 /* 00001EE8 */]
00000B98 4FEF 0010 lea.l A7, [A7 + 0x10]
00000B9C 6000 00A0 bra +0xA2 /* 00000C3E */
label00000BA0:
00000BA0 7000 moveq.l D0, 0x00
00000BA2 102D F0FC move.b D0, [A5 - 0xF04]
00000BA6 0C00 0040 cmpi.b D0, 0x40 /* '@' */
00000BAA 651A bcs +0x1C /* 00000BC6 */
00000BAC 486D F0FC pea.l [A5 - 0xF04]
00000BB0 486D F048 pea.l [A5 - 0xFB8]
00000BB4 486D F058 pea.l [A5 - 0xFA8]
00000BB8 4EBA 13C8 jsr [PC + 0x13C8 /* 00001F82 */]
00000BBC 7001 moveq.l D0, 0x01
00000BBE 4FEF 000C lea.l A7, [A7 + 0xC]
00000BC2 6000 0082 bra +0x84 /* 00000C46 */
label00000BC6:
00000BC6 4EBA 384E jsr [PC + 0x384E /* 00004416 */]
00000BCA 4A00 tst.b D0
00000BCC 6674 bne +0x76 /* 00000C42 */
00000BCE 7004 moveq.l D0, 0x04
00000BD0 3F00 move.w -[A7], D0
00000BD2 A888 trap TextFace
00000BD4 486D EAFC pea.l [A5 - 0x1504]
00000BD8 4EBA 3BB6 jsr [PC + 0x3BB6 /* 00004790 */]
00000BDC 7000 moveq.l D0, 0x00
00000BDE 3F00 move.w -[A7], D0
00000BE0 A888 trap TextFace
00000BE2 598F subq.l A7, 4
00000BE4 7004 moveq.l D0, 0x04
00000BE6 3F00 move.w -[A7], D0
00000BE8 A9B9 trap GetCursor
00000BEA 285F movea.l A4, [A7]+
00000BEC 200C move.l D0, A4
00000BEE 584F addq.w A7, 4
00000BF0 6704 beq +0x6 /* 00000BF6 */
00000BF2 2F14 move.l -[A7], [A4]
00000BF4 A851 trap SetCursor
label00000BF6:
00000BF6 486D F0F8 pea.l [A5 - 0xF08]
00000BFA 486E FF94 pea.l [A6 - 0x6C]
00000BFE 4EBA 005C jsr [PC + 0x5C /* 00000C5C */]
00000C02 1E00 move.b D7, D0
00000C04 486D FCF8 pea.l [A5 - 0x308]
00000C08 A851 trap SetCursor
00000C0A 7000 moveq.l D0, 0x00
00000C0C 102D F460 move.b D0, [A5 - 0xBA0]
00000C10 2F00 move.l -[A7], D0
00000C12 4EBA 3A62 jsr [PC + 0x3A62 /* 00004676 */]
00000C16 70FF moveq.l D0, 0xFFFFFFFF
00000C18 3F00 move.w -[A7], D0
00000C1A 7200 moveq.l D1, 0x00
00000C1C 3F01 move.w -[A7], D1
00000C1E 201F move.l D0, [A7]+
00000C20 A032 trap FlushEvents
00000C22 4FEF 000C lea.l A7, [A7 + 0xC]
label00000C26:
00000C26 4A07 tst.b D7
00000C28 6614 bne +0x16 /* 00000C3E */
00000C2A 7000 moveq.l D0, 0x00
00000C2C 2F00 move.l -[A7], D0
00000C2E 486D F062 pea.l [A5 - 0xF9E]
00000C32 4EBA 14EA jsr [PC + 0x14EA /* 0000211E */]
00000C36 4A00 tst.b D0
00000C38 504F addq.w A7, 8
00000C3A 6600 FEF4 bne -0x10A /* 00000B30 */
label00000C3E:
00000C3E 4EBA 0584 jsr [PC + 0x584 /* 000011C4 */]
label00000C42:
00000C42 4EBA FCA2 jsr [PC - 0x35E /* 000008E6 */]
label00000C46:
00000C46 4CEE 1080 FF8C movem.l A4,D7, [A6 - 0x74]
00000C4C 4E5E unlink A6
00000C4E 4E75 rts
00000C50 8841 or.w D4, D1
00000C52 7243 moveq.l D1, 0x43
00000C54 7265 moveq.l D1, 0x65
00000C56 6174 bsr +0x76 /* 00000CCC */
00000C58 6500 0000 bcs +0x2 /* 00000C5A */
// begin alternate branch 00000C5A-00000C60
label00000C5A:
00000C5A 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000C5C: // (misaligned)
00000C5E FF3C .extension 0xF3C // unimplemented
// end alternate branch 00000C5A-00000C60
label00000C5A: // (misaligned)
fn00000C5C:
00000C5C 4E56 FF3C link A6, -0x00C4
00000C60 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000C64 286E 0008 movea.l A4, [A6 + 0x8]
00000C68 4207 clr.b D7
00000C6A 47ED F07A lea.l A3, [A5 - 0xF86]
00000C6E 4A2D F465 tst.b [A5 - 0xB9B]
00000C72 6638 bne +0x3A /* 00000CAC */
00000C74 2F0C move.l -[A7], A4
00000C76 4EBA 035C jsr [PC + 0x35C /* 00000FD4 */]
00000C7A 2D40 FF3C move.l [A6 - 0xC4], D0
00000C7E 584F addq.w A7, 4
00000C80 6606 bne +0x8 /* 00000C88 */
00000C82 7001 moveq.l D0, 0x01
00000C84 6000 016E bra +0x170 /* 00000DF4 */
label00000C88:
00000C88 4A2D F465 tst.b [A5 - 0xB9B]
00000C8C 660A bne +0xC /* 00000C98 */
00000C8E 206E FF3C movea.l A0, [A6 - 0xC4]
00000C92 117C 0035 009C move.b [A0 + 0x9C], 0x35 /* '5' */
label00000C98:
00000C98 2F2E FF3C move.l -[A7], [A6 - 0xC4]
00000C9C 4EBA 045C jsr [PC + 0x45C /* 000010FA */]
00000CA0 2B6E FF3C F366 move.l [A5 - 0xC9A], [A6 - 0xC4]
00000CA6 4EBA 1FFA jsr [PC + 0x1FFA /* 00002CA2 */]
00000CAA 584F addq.w A7, 4
label00000CAC:
00000CAC 7000 moveq.l D0, 0x00
00000CAE 2D40 FFAC move.l [A6 - 0x54], D0
00000CB2 41EE FFAC lea.l A0, [A6 - 0x54]
00000CB6 226E 000C movea.l A1, [A6 + 0xC]
00000CBA 2288 move.l [A1], A0
00000CBC 7C01 moveq.l D6, 0x01
00000CBE 6000 0124 bra +0x126 /* 00000DE4 */
label00000CC2:
00000CC2 558F subq.l A7, 2
00000CC4 7008 moveq.l D0, 0x08
00000CC6 3F00 move.w -[A7], D0
00000CC8 486E FFF0 pea.l [A6 - 0x10]
fn00000CCC:
00000CCC A971 trap EventAvail
00000CCE 4A1F tst.b [A7]+
00000CD0 6738 beq +0x3A /* 00000D0A */
00000CD2 4A6E FFF0 tst.w [A6 - 0x10]
00000CD6 6732 beq +0x34 /* 00000D0A */
00000CD8 303C 0100 move.w D0, 0x100
00000CDC C06E FFFE and.w D0, [A6 - 0x2]
00000CE0 6728 beq +0x2A /* 00000D0A */
00000CE2 203C 0000 00FF move.l D0, 0xFF
00000CE8 C0AE FFF2 and.l D0, [A6 - 0xE]
00000CEC 722E moveq.l D1, 0x2E
00000CEE B280 cmp.l D1, D0
00000CF0 6618 bne +0x1A /* 00000D0A */
00000CF2 558F subq.l A7, 2
00000CF4 7008 moveq.l D0, 0x08
00000CF6 3F00 move.w -[A7], D0
00000CF8 486E FFF0 pea.l [A6 - 0x10]
00000CFC 7200 moveq.l D1, 0x00
00000CFE 2F01 move.l -[A7], D1
00000D00 2F01 move.l -[A7], D1
00000D02 A860 trap WaitNextEvent
00000D04 544F addq.w A7, 2
00000D06 6000 00E2 bra +0xE4 /* 00000DEA */
label00000D0A:
00000D0A 422E FFB0 clr.b [A6 - 0x50]
00000D0E 706C moveq.l D0, 0x6C
00000D10 2F00 move.l -[A7], D0
00000D12 7200 moveq.l D1, 0x00
00000D14 2F01 move.l -[A7], D1
00000D16 486E FF40 pea.l [A6 - 0xC0]
00000D1A 4EAD 017A jsr [A5 + 0x17A]
00000D1E 7000 moveq.l D0, 0x00
00000D20 2D40 FF4C move.l [A6 - 0xB4], D0
00000D24 41EE FFB0 lea.l A0, [A6 - 0x50]
00000D28 2D48 FF52 move.l [A6 - 0xAE], A0
00000D2C 3D6C 0016 FF56 move.w [A6 - 0xAA], [A4 + 0x16]
00000D32 2D6C 0030 FF70 move.l [A6 - 0x90], [A4 + 0x30]
00000D38 3D46 FF5C move.w [A6 - 0xA4], D6
00000D3C 558F subq.l A7, 2
00000D3E 486E FF40 pea.l [A6 - 0xC0]
00000D42 7000 moveq.l D0, 0x00
00000D44 1F00 move.b -[A7], D0
00000D46 4EBA 4660 jsr [PC + 0x4660 /* 000053A8 */]
00000D4A 4A5F tst.w [A7]+
00000D4C 4FEF 000C lea.l A7, [A7 + 0xC]
00000D50 6728 beq +0x2A /* 00000D7A */
00000D52 70D5 moveq.l D0, 0xFFFFFFD5
00000D54 B06E FF50 cmp.w D0, [A6 - 0xB0]
00000D58 6700 0090 beq +0x92 /* 00000DEA */
00000D5C 302E FF50 move.w D0, [A6 - 0xB0]
00000D60 48C0 ext.l D0
00000D62 2F00 move.l -[A7], D0
00000D64 486D F084 pea.l [A5 - 0xF7C]
00000D68 486D F096 pea.l [A5 - 0xF6A]
00000D6C 2F0B move.l -[A7], A3
00000D6E 4EBA 1178 jsr [PC + 0x1178 /* 00001EE8 */]
00000D72 7001 moveq.l D0, 0x01
00000D74 4FEF 0010 lea.l A7, [A7 + 0x10]
00000D78 607A bra +0x7C /* 00000DF4 */
label00000D7A:
00000D7A 7000 moveq.l D0, 0x00
00000D7C 102E FFB0 move.b D0, [A6 - 0x50]
00000D80 0C00 0040 cmpi.b D0, 0x40 /* '@' */
00000D84 6516 bcs +0x18 /* 00000D9C */
00000D86 486E FFB0 pea.l [A6 - 0x50]
00000D8A 486D F0A4 pea.l [A5 - 0xF5C]
00000D8E 2F0B move.l -[A7], A3
00000D90 4EBA 11F0 jsr [PC + 0x11F0 /* 00001F82 */]
00000D94 7001 moveq.l D0, 0x01
00000D96 4FEF 000C lea.l A7, [A7 + 0xC]
00000D9A 6058 bra +0x5A /* 00000DF4 */
label00000D9C:
00000D9C 7010 moveq.l D0, 0x10
00000D9E C02E FF5E and.b D0, [A6 - 0xA2]
00000DA2 7200 moveq.l D1, 0x00
00000DA4 1200 move.b D1, D0
00000DA6 0C41 0010 cmpi.w D1, 0x10
00000DAA 6612 bne +0x14 /* 00000DBE */
00000DAC 486E FFAC pea.l [A6 - 0x54]
00000DB0 486E FF40 pea.l [A6 - 0xC0]
00000DB4 4EBA FEA6 jsr [PC - 0x15A /* 00000C5C */]
00000DB8 1E00 move.b D7, D0
00000DBA 504F addq.w A7, 8
00000DBC 6022 bra +0x24 /* 00000DE0 */
label00000DBE:
00000DBE 4A2D F477 tst.b [A5 - 0xB89]
00000DC2 6610 bne +0x12 /* 00000DD4 */
00000DC4 302E FF58 move.w D0, [A6 - 0xA8]
00000DC8 B06D EFDE cmp.w D0, [A5 - 0x1022]
00000DCC 6606 bne +0x8 /* 00000DD4 */
00000DCE 4EBA 124A jsr [PC + 0x124A /* 0000201A */]
00000DD2 600C bra +0xE /* 00000DE0 */
label00000DD4:
00000DD4 486E FF40 pea.l [A6 - 0xC0]
00000DD8 4EBA 002E jsr [PC + 0x2E /* 00000E08 */]
00000DDC 1E00 move.b D7, D0
00000DDE 584F addq.w A7, 4
label00000DE0:
00000DE0 2006 move.l D0, D6
00000DE2 5286 addq.l D6, 1
label00000DE4:
00000DE4 4A07 tst.b D7
00000DE6 6700 FEDA beq -0x124 /* 00000CC2 */
label00000DEA:
00000DEA 206E 000C movea.l A0, [A6 + 0xC]
00000DEE 7000 moveq.l D0, 0x00
00000DF0 2080 move.l [A0], D0
00000DF2 1007 move.b D0, D7
label00000DF4:
00000DF4 4CEE 18C0 FF2C movem.l A4,A3,D7,D6, [A6 - 0xD4]
00000DFA 4E5E unlink A6
00000DFC 4E75 rts
00000DFE 8744 756D pack D3, D4, 0x756D
00000E02 7044 moveq.l D0, 0x44
00000E04 6972 bvs +0x74 /* 00000E78 */
00000E06 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000E08-00000E0C
fn00000E08:
00000E08 4E56 FF7C link A6, -0x0084
// end alternate branch 00000E08-00000E0C
fn00000E08: // (misaligned)
00000E0A FF7C .extension 0xF7C // unimplemented
00000E0C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000E10 41ED F0B4 lea.l A0, [A5 - 0xF4C]
00000E14 2D48 FFFC move.l [A6 - 0x4], A0
00000E18 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000E1C 4EBA 01B6 jsr [PC + 0x1B6 /* 00000FD4 */]
00000E20 2640 movea.l A3, D0
00000E22 200B move.l D0, A3
00000E24 584F addq.w A7, 4
00000E26 6606 bne +0x8 /* 00000E2E */
00000E28 7001 moveq.l D0, 0x01
00000E2A 6000 0192 bra +0x194 /* 00000FBE */
label00000E2E:
00000E2E 2F0B move.l -[A7], A3
00000E30 4EBA 02C8 jsr [PC + 0x2C8 /* 000010FA */]
00000E34 2B4B F366 move.l [A5 - 0xC9A], A3
00000E38 206E 0008 movea.l A0, [A6 + 0x8]
00000E3C 2B68 0036 F35E move.l [A5 - 0xCA2], [A0 + 0x36]
00000E42 4EBA 1E5E jsr [PC + 0x1E5E /* 00002CA2 */]
00000E46 206E 0008 movea.l A0, [A6 + 0x8]
00000E4A 2E28 0036 move.l D7, [A0 + 0x36]
00000E4E 584F addq.w A7, 4
00000E50 6606 bne +0x8 /* 00000E58 */
00000E52 7000 moveq.l D0, 0x00
00000E54 6000 0168 bra +0x16A /* 00000FBE */
label00000E58:
00000E58 707A moveq.l D0, 0x7A
00000E5A 2F00 move.l -[A7], D0
00000E5C 7200 moveq.l D1, 0x00
00000E5E 2F01 move.l -[A7], D1
00000E60 486E FF80 pea.l [A6 - 0x80]
00000E64 4EAD 017A jsr [A5 + 0x17A]
00000E68 7000 moveq.l D0, 0x00
00000E6A 2D40 FF8C move.l [A6 - 0x74], D0
00000E6E 206E 0008 movea.l A0, [A6 + 0x8]
00000E72 2D68 0012 FF92 move.l [A6 - 0x6E], [A0 + 0x12]
label00000E78:
00000E78 3D68 0016 FF96 move.w [A6 - 0x6A], [A0 + 0x16]
00000E7E 422E FF9A clr.b [A6 - 0x66]
00000E82 206E 0008 movea.l A0, [A6 + 0x8]
00000E86 2D68 0064 FFB0 move.l [A6 - 0x50], [A0 + 0x64]
00000E8C 1D7C 0001 FF9B move.b [A6 - 0x65], 0x1
00000E92 2D40 FF9C move.l [A6 - 0x64], D0
00000E96 558F subq.l A7, 2
00000E98 486E FF80 pea.l [A6 - 0x80]
00000E9C 7000 moveq.l D0, 0x00
00000E9E 1F00 move.b -[A7], D0
00000EA0 4EBA 452E jsr [PC + 0x452E /* 000053D0 */]
00000EA4 4A5F tst.w [A7]+
00000EA6 4FEF 000C lea.l A7, [A7 + 0xC]
00000EAA 6726 beq +0x28 /* 00000ED2 */
00000EAC 302E FF90 move.w D0, [A6 - 0x70]
00000EB0 48C0 ext.l D0
00000EB2 2F00 move.l -[A7], D0
00000EB4 206E 0008 movea.l A0, [A6 + 0x8]
00000EB8 2F28 0012 move.l -[A7], [A0 + 0x12]
00000EBC 486D F0BE pea.l [A5 - 0xF42]
00000EC0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000EC4 4EBA 1022 jsr [PC + 0x1022 /* 00001EE8 */]
00000EC8 7001 moveq.l D0, 0x01
00000ECA 4FEF 0010 lea.l A7, [A7 + 0x10]
00000ECE 6000 00EE bra +0xF0 /* 00000FBE */
label00000ED2:
00000ED2 422E FFFB clr.b [A6 - 0x5]
00000ED6 6000 00CC bra +0xCE /* 00000FA4 */
label00000EDA:
00000EDA 4EBA F286 jsr [PC - 0xD7A /* 00000162 */]
00000EDE 2640 movea.l A3, D0
00000EE0 200B move.l D0, A3
00000EE2 660A bne +0xC /* 00000EEE */
00000EE4 1D7C 0001 FFFB move.b [A6 - 0x5], 0x1
00000EEA 6000 00BE bra +0xC0 /* 00000FAA */
label00000EEE:
00000EEE 4EBA F2FA jsr [PC - 0xD06 /* 000001EA */]
00000EF2 2040 movea.l A0, D0
00000EF4 2808 move.l D4, A0
00000EF6 988B sub.l D4, A3
00000EF8 2D4B FF7C move.l [A6 - 0x84], A3
00000EFC B887 cmp.l D4, D7
00000EFE 6F04 ble +0x6 /* 00000F04 */
00000F00 2007 move.l D0, D7
00000F02 6002 bra +0x4 /* 00000F06 */
label00000F04:
00000F04 2004 move.l D0, D4
label00000F06:
00000F06 2A00 move.l D5, D0
00000F08 2D6E FF7C FFA0 move.l [A6 - 0x60], [A6 - 0x84]
00000F0E 2D45 FFA4 move.l [A6 - 0x5C], D5
00000F12 426E FFAC clr.w [A6 - 0x54]
00000F16 7000 moveq.l D0, 0x00
00000F18 2D40 FFAE move.l [A6 - 0x52], D0
00000F1C 558F subq.l A7, 2
00000F1E 486E FF80 pea.l [A6 - 0x80]
00000F22 7000 moveq.l D0, 0x00
00000F24 1F00 move.b -[A7], D0
00000F26 4EBA 41E0 jsr [PC + 0x41E0 /* 00005108 */]
00000F2A 4A5F tst.w [A7]+
00000F2C 6728 beq +0x2A /* 00000F56 */
00000F2E 302E FF90 move.w D0, [A6 - 0x70]
00000F32 48C0 ext.l D0
00000F34 2F00 move.l -[A7], D0
00000F36 206E 0008 movea.l A0, [A6 + 0x8]
00000F3A 2F28 0012 move.l -[A7], [A0 + 0x12]
00000F3E 486D F0C8 pea.l [A5 - 0xF38]
00000F42 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000F46 4EBA 0FA0 jsr [PC + 0xFA0 /* 00001EE8 */]
00000F4A 1D7C 0001 FFFB move.b [A6 - 0x5], 0x1
00000F50 4FEF 0010 lea.l A7, [A7 + 0x10]
00000F54 6054 bra +0x56 /* 00000FAA */
label00000F56:
00000F56 2A2E FFA8 move.l D5, [A6 - 0x58]
00000F5A 4A2D F461 tst.b [A5 - 0xB9F]
00000F5E 6718 beq +0x1A /* 00000F78 */
00000F60 2C05 move.l D6, D5
00000F62 286E FF7C movea.l A4, [A6 - 0x84]
00000F66 600C bra +0xE /* 00000F74 */
label00000F68:
00000F68 700D moveq.l D0, 0x0D
00000F6A B014 cmp.b D0, [A4]
00000F6C 6604 bne +0x6 /* 00000F72 */
00000F6E 18BC 000A move.b [A4], 0xA /* '\n' */
label00000F72:
00000F72 524C addq.w A4, 1
label00000F74:
00000F74 5386 subq.l D6, 1
00000F76 6CF0 bge -0xE /* 00000F68 */
label00000F78:
00000F78 9E85 sub.l D7, D5
00000F7A 2005 move.l D0, D5
00000F7C 5380 subq.l D0, 1
00000F7E 223C 0000 0200 move.l D1, 0x200
00000F84 4EBA 3FCC jsr [PC + 0x3FCC /* 00004F52 */]
00000F88 2200 move.l D1, D0
00000F8A C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
00000F8C 0200 4841 andi.b D0, 0x41 /* 'A' */
00000F90 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
00000F92 0200 4841 andi.b D0, 0x41 /* 'A' */
00000F96 4241 clr.w D1
00000F98 D081 add.l D0, D1
00000F9A D08B add.l D0, A3
00000F9C 2F00 move.l -[A7], D0
00000F9E 4EBA F1FC jsr [PC - 0xE04 /* 0000019C */]
00000FA2 584F addq.w A7, 4
label00000FA4:
00000FA4 4A87 tst.l D7
00000FA6 6E00 FF32 bgt -0xCC /* 00000EDA */
label00000FAA:
00000FAA 558F subq.l A7, 2
00000FAC 486E FF80 pea.l [A6 - 0x80]
00000FB0 7000 moveq.l D0, 0x00
00000FB2 1F00 move.b -[A7], D0
00000FB4 4EBA 4140 jsr [PC + 0x4140 /* 000050F6 */]
00000FB8 102E FFFB move.b D0, [A6 - 0x5]
00000FBC 544F addq.w A7, 2
label00000FBE:
00000FBE 4CEE 18F0 FF64 movem.l A4,A3,D7,D6,D5,D4, [A6 - 0x9C]
00000FC4 4E5E unlink A6
00000FC6 4E75 rts
00000FC8 8844 or.w D4, D4
00000FCA 756D moveq.l D2, 0x6D
00000FCC 7046 moveq.l D0, 0x46
00000FCE 696C bvs +0x6E /* 0000103C */
00000FD0 6500 0000 bcs +0x2 /* 00000FD2 */
// begin alternate branch 00000FD2-00000FD8
label00000FD2:
00000FD2 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000FD4: // (misaligned)
00000FD6 FF9A .extension 0xF9A // unimplemented
// end alternate branch 00000FD2-00000FD8
label00000FD2: // (misaligned)
fn00000FD4:
00000FD4 4E56 FF9A link A6, -0x0066
00000FD8 48E7 0118 movem.l -[A7], D7,A3,A4
00000FDC 266E 0008 movea.l A3, [A6 + 0x8]
00000FE0 7010 moveq.l D0, 0x10
00000FE2 C02B 001E and.b D0, [A3 + 0x1E]
00000FE6 7200 moveq.l D1, 0x00
00000FE8 1200 move.b D1, D0
00000FEA 0C41 0010 cmpi.w D1, 0x10
00000FEE 57C0 seq D0
00000FF0 0240 0001 andi.w D0, 0x1
00000FF4 48C0 ext.l D0
00000FF6 1E00 move.b D7, D0
00000FF8 4EBA F168 jsr [PC - 0xE98 /* 00000162 */]
00000FFC 2840 movea.l A4, D0
00000FFE 200C move.l D0, A4
00001000 6606 bne +0x8 /* 00001008 */
00001002 7000 moveq.l D0, 0x00
00001004 6000 00DC bra +0xDE /* 000010E2 */
label00001008:
00001008 4878 0200 pea.l [0x00000200 /* SPAlarm */]
0000100C 7000 moveq.l D0, 0x00
0000100E 2F00 move.l -[A7], D0
00001010 2F0C move.l -[A7], A4
00001012 4EAD 017A jsr [A5 + 0x17A]
00001016 7000 moveq.l D0, 0x00
00001018 1007 move.b D0, D7
0000101A 2F00 move.l -[A7], D0
0000101C 2F0C move.l -[A7], A4
0000101E 4EBA 020C jsr [PC + 0x20C /* 0000122C */]
00001022 4A00 tst.b D0
00001024 4FEF 0014 lea.l A7, [A7 + 0x14]
00001028 672E beq +0x30 /* 00001058 */
0000102A 1D7C 0064 FF9A move.b [A6 - 0x66], 0x64 /* 'd' */
00001030 7064 moveq.l D0, 0x64
00001032 2F00 move.l -[A7], D0
00001034 2F0C move.l -[A7], A4
00001036 486E FF9B pea.l [A6 - 0x65]
0000103A 4EAD 0172 jsr [A5 + 0x172]
// begin alternate branch 0000103C-00001042
label0000103C:
0000103C 0172 486E bchg [A2 + D4 + 0x6E], D0
00001040 FF9A .extension 0xF9A // unimplemented
// end alternate branch 0000103C-00001042
label0000103C: // (misaligned)
0000103E 486E FF9A pea.l [A6 - 0x66]
00001042 486D F0D0 pea.l [A5 - 0xF30]
00001046 486D F0E0 pea.l [A5 - 0xF20]
0000104A 4EBA 0F36 jsr [PC + 0xF36 /* 00001F82 */]
0000104E 7000 moveq.l D0, 0x00
00001050 4FEF 0018 lea.l A7, [A7 + 0x18]
00001054 6000 008C bra +0x8E /* 000010E2 */
label00001058:
00001058 486C 0064 pea.l [A4 + 0x64]
0000105C 7008 moveq.l D0, 0x08
0000105E 2F00 move.l -[A7], D0
00001060 4A07 tst.b D7
00001062 6708 beq +0xA /* 0000106C */
00001064 223C 0000 01ED move.l D1, 0x1ED
0000106A 6006 bra +0x8 /* 00001072 */
label0000106C:
0000106C 223C 0000 01A4 move.l D1, 0x1A4
label00001072:
00001072 2F01 move.l -[A7], D1
00001074 4EBA 00F8 jsr [PC + 0xF8 /* 0000116E */]
00001078 486C 006C pea.l [A4 + 0x6C]
0000107C 7008 moveq.l D0, 0x08
0000107E 2F00 move.l -[A7], D0
00001080 7200 moveq.l D1, 0x00
00001082 2F01 move.l -[A7], D1
00001084 4EBA 00E8 jsr [PC + 0xE8 /* 0000116E */]
00001088 486C 0074 pea.l [A4 + 0x74]
0000108C 7008 moveq.l D0, 0x08
0000108E 2F00 move.l -[A7], D0
00001090 7200 moveq.l D1, 0x00
00001092 2F01 move.l -[A7], D1
00001094 4EBA 00D8 jsr [PC + 0xD8 /* 0000116E */]
00001098 486C 007C pea.l [A4 + 0x7C]
0000109C 700D moveq.l D0, 0x0D
0000109E 2F00 move.l -[A7], D0
000010A0 4A07 tst.b D7
000010A2 6704 beq +0x6 /* 000010A8 */
000010A4 7200 moveq.l D1, 0x00
000010A6 6004 bra +0x6 /* 000010AC */
label000010A8:
000010A8 222B 0036 move.l D1, [A3 + 0x36]
label000010AC:
000010AC 2F01 move.l -[A7], D1
000010AE 4EBA 00BE jsr [PC + 0xBE /* 0000116E */]
000010B2 486C 0088 pea.l [A4 + 0x88]
000010B6 700D moveq.l D0, 0x0D
000010B8 2F00 move.l -[A7], D0
000010BA 4A07 tst.b D7
000010BC 670C beq +0xE /* 000010CA */
000010BE 222B 004C move.l D1, [A3 + 0x4C]
000010C2 92BC 7C25 B080 sub.l D1, 0x7C25B080
000010C8 600C bra +0xE /* 000010D6 */
label000010CA:
000010CA 202B 004C move.l D0, [A3 + 0x4C]
000010CE 90BC 7C25 B080 sub.l D0, 0x7C25B080
000010D4 2200 move.l D1, D0
label000010D6:
000010D6 2F01 move.l -[A7], D1
000010D8 4EBA 0094 jsr [PC + 0x94 /* 0000116E */]
000010DC 200C move.l D0, A4
000010DE 4FEF 003C lea.l A7, [A7 + 0x3C]
label000010E2:
000010E2 4CEE 1880 FF8E movem.l A4,A3,D7, [A6 - 0x72]
000010E8 4E5E unlink A6
000010EA 4E75 rts
000010EC 8B53 or.w [A3], D5
000010EE 7461 moveq.l D2, 0x61
000010F0 7274 moveq.l D1, 0x74
000010F2 4865 pea.l -[A5]
000010F4 6164 bsr +0x66 /* 0000115A */
000010F6 6572 bcs +0x74 /* 0000116A */
000010F8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000010FA-00001102
fn000010FA:
000010FA 4E56 0000 link A6, 0
000010FE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
// end alternate branch 000010FA-00001102
fn000010FA: // (misaligned)
000010FC 0000 48E7 ori.b D0, 0xE7
00001100 0318 btst [A0]+, D1
00001102 266E 0008 movea.l A3, [A6 + 0x8]
00001106 7008 moveq.l D0, 0x08
00001108 2F00 move.l -[A7], D0
0000110A 486D F0EE pea.l [A5 - 0xF12]
0000110E 486B 0094 pea.l [A3 + 0x94]
00001112 4EAD 0172 jsr [A5 + 0x172]
00001116 7C00 moveq.l D6, 0x00
00001118 49D3 lea.l A4, [A3]
0000111A 2E3C 0000 0200 move.l D7, 0x200
00001120 4FEF 000C lea.l A7, [A7 + 0xC]
00001124 600E bra +0x10 /* 00001134 */
label00001126:
00001126 101C move.b D0, [A4]+
00001128 4880 ext.w D0
0000112A C03C 00FF and.b D0, 0xFF
0000112E 7200 moveq.l D1, 0x00
00001130 1200 move.b D1, D0
00001132 DC81 add.l D6, D1
label00001134:
00001134 5387 subq.l D7, 1
00001136 6CEE bge -0x10 /* 00001126 */
00001138 486B 0094 pea.l [A3 + 0x94]
0000113C 7008 moveq.l D0, 0x08
0000113E 2F00 move.l -[A7], D0
00001140 2F06 move.l -[A7], D6
00001142 4EBA 002A jsr [PC + 0x2A /* 0000116E */]
00001146 422B 009A clr.b [A3 + 0x9A]
0000114A 2F0B move.l -[A7], A3
0000114C 4EBA F04E jsr [PC - 0xFB2 /* 0000019C */]
00001150 4FEF 0010 lea.l A7, [A7 + 0x10]
00001154 4CEE 18C0 FFF0 movem.l A4,A3,D7,D6, [A6 - 0x10]
fn0000115A:
0000115A 4E5E unlink A6
0000115C 4E75 rts
0000115E 8C46 or.w D6, D6
00001160 696E bvs +0x70 /* 000011D0 */
00001162 6973 bvs +0x75 /* 000011D7 */
00001164 6848 bvc +0x4A /* 000011AE */
00001166 6561 bcs +0x63 /* 000011C9 */
00001168 6465 bcc +0x67 /* 000011CF */
label0000116A:
0000116A 7200 moveq.l D1, 0x00
0000116C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000116E-00001176
fn0000116E:
0000116E 4E56 0000 link A6, 0
00001172 48E7 0308 movem.l -[A7], D6,D7,A4
// end alternate branch 0000116E-00001176
fn0000116E: // (misaligned)
00001170 0000 48E7 ori.b D0, 0xE7
00001174 0308 btst A0, D1
00001176 286E 0010 movea.l A4, [A6 + 0x10]
0000117A 2C2E 0008 move.l D6, [A6 + 0x8]
0000117E 2E2E 000C move.l D7, [A6 + 0xC]
00001182 5387 subq.l D7, 1
00001184 5387 subq.l D7, 1
00001186 19BC 0020 7800 move.b [A4 + D7], 0x20 /* ' ' */
label0000118C:
0000118C 7007 moveq.l D0, 0x07
0000118E C086 and.l D0, D6
00001190 7230 moveq.l D1, 0x30
00001192 D001 add.b D0, D1
00001194 5387 subq.l D7, 1
00001196 1980 7800 move.b [A4 + D7], D0
0000119A E686 asr D6, 3
0000119C 4A87 tst.l D7
0000119E 6F0E ble +0x10 /* 000011AE */
000011A0 4A86 tst.l D6
000011A2 66E8 bne -0x16 /* 0000118C */
000011A4 6008 bra +0xA /* 000011AE */
label000011A6:
000011A6 5387 subq.l D7, 1
000011A8 19BC 0020 7800 move.b [A4 + D7], 0x20 /* ' ' */
label000011AE:
000011AE 4A87 tst.l D7
000011B0 6EF4 bgt -0xA /* 000011A6 */
000011B2 4CEE 10C0 FFF4 movem.l A4,D7,D6, [A6 - 0xC]
000011B8 4E5E unlink A6
000011BA 4E75 rts
000011BC 8554 or.w [A4], D2
000011BE 6F4F ble +0x51 /* 0000120F */
000011C0 6374 bls +0x76 /* 00001236 */
000011C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000011C4-000011CA
fn000011C4:
000011C4 4E56 0000 link A6, 0
000011C8 2F0C move.l -[A7], A4
// end alternate branch 000011C4-000011CA
fn000011C4: // (misaligned)
000011C6 0000 2F0C ori.b D0, 0xC
label000011C9: // (misaligned)
000011CA 4EBA EF96 jsr [PC - 0x106A /* 00000162 */]
000011CE 2840 movea.l A4, D0
label000011CF: // (misaligned)
label000011D0:
000011D0 200C move.l D0, A4
000011D2 6604 bne +0x6 /* 000011D8 */
000011D4 7001 moveq.l D0, 0x01
000011D6 6040 bra +0x42 /* 00001218 */
label000011D7: // (misaligned)
label000011D8:
000011D8 4878 0200 pea.l [0x00000200 /* SPAlarm */]
000011DC 7000 moveq.l D0, 0x00
000011DE 2F00 move.l -[A7], D0
000011E0 2F0C move.l -[A7], A4
000011E2 4EAD 017A jsr [A5 + 0x17A]
000011E6 2F0C move.l -[A7], A4
000011E8 4EBA EFB2 jsr [PC - 0x104E /* 0000019C */]
000011EC 4EBA EF74 jsr [PC - 0x108C /* 00000162 */]
000011F0 2840 movea.l A4, D0
000011F2 200C move.l D0, A4
000011F4 4FEF 0010 lea.l A7, [A7 + 0x10]
000011F8 6604 bne +0x6 /* 000011FE */
000011FA 7001 moveq.l D0, 0x01
000011FC 601A bra +0x1C /* 00001218 */
label000011FE:
000011FE 4878 0200 pea.l [0x00000200 /* SPAlarm */]
00001202 7000 moveq.l D0, 0x00
00001204 2F00 move.l -[A7], D0
00001206 2F0C move.l -[A7], A4
00001208 4EAD 017A jsr [A5 + 0x17A]
0000120C 2F0C move.l -[A7], A4
0000120E 4EBA EF8C jsr [PC - 0x1074 /* 0000019C */]
label0000120F: // (misaligned)
00001212 7000 moveq.l D0, 0x00
00001214 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001218:
00001218 286E FFFC movea.l A4, [A6 - 0x4]
0000121C 4E5E unlink A6
0000121E 4E75 rts
00001220 8857 or.w D4, [A7]
00001222 7269 moveq.l D1, 0x69
00001224 7465 moveq.l D2, 0x65
00001226 456F 7400 chk.w D2, [A7 + 0x7400]
0000122A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000122C-00001230
fn0000122C:
0000122C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000122C-00001230
fn0000122C: // (misaligned)
0000122E FFFC .extension 0xFFC // unimplemented
00001230 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4
00001234 206E 0008 movea.l A0, [A6 + 0x8]
// begin alternate branch 00001236-0000123A
label00001236:
00001236 0008 49D0 ori.b A0, 0xD0
// end alternate branch 00001236-0000123A
label00001236: // (misaligned)
00001238 49D0 lea.l A4, [A0]
0000123A 47ED F0F8 lea.l A3, [A5 - 0xF08]
0000123E 7600 moveq.l D3, 0x00
00001240 6054 bra +0x56 /* 00001296 */
label00001242:
00001242 204B movea.l A0, A3
00001244 5A88 addq.l A0, 5
00001246 2D48 FFFC move.l [A6 - 0x4], A0
0000124A 102B 0004 move.b D0, [A3 + 0x4]
0000124E 4880 ext.w D0
00001250 48C0 ext.l D0
00001252 2C00 move.l D6, D0
00001254 602E bra +0x30 /* 00001284 */
label00001256:
00001256 206E FFFC movea.l A0, [A6 - 0x4]
0000125A 52AE FFFC addq.l [A6 - 0x4], 1
0000125E 1E10 move.b D7, [A0]
00001260 0C07 002F cmpi.b D7, 0x2F /* '/' */
00001264 6606 bne +0x8 /* 0000126C */
00001266 18FC 003A move.b [A4]+, 0x3A /* ':' */
0000126A 6014 bra +0x16 /* 00001280 */
label0000126C:
0000126C 0C07 0020 cmpi.b D7, 0x20 /* ' ' */
00001270 6F06 ble +0x8 /* 00001278 */
00001272 0C07 007F cmpi.b D7, 0x7F
00001276 6D06 blt +0x8 /* 0000127E */
label00001278:
00001278 18FC 005F move.b [A4]+, 0x5F /* '_' */
0000127C 6002 bra +0x4 /* 00001280 */
label0000127E:
0000127E 18C7 move.b [A4]+, D7
label00001280:
00001280 2006 move.l D0, D6
00001282 5386 subq.l D6, 1
label00001284:
00001284 B686 cmp.l D3, D6
00001286 6DCE blt -0x30 /* 00001256 */
00001288 4A93 tst.l [A3]
0000128A 6604 bne +0x6 /* 00001290 */
0000128C 7000 moveq.l D0, 0x00
0000128E 6002 bra +0x4 /* 00001292 */
label00001290:
00001290 702F moveq.l D0, 0x2F
label00001292:
00001292 18C0 move.b [A4]+, D0
00001294 2653 movea.l A3, [A3]
label00001296:
00001296 B68B cmp.l D3, A3
00001298 66A8 bne -0x56 /* 00001242 */
0000129A 4A2E 000F tst.b [A6 + 0xF]
0000129E 670C beq +0xE /* 000012AC */
000012A0 200C move.l D0, A4
000012A2 5380 subq.l D0, 1
000012A4 2040 movea.l A0, D0
000012A6 10BC 002F move.b [A0], 0x2F /* '/' */
000012AA 4214 clr.b [A4]
label000012AC:
000012AC 206E 0008 movea.l A0, [A6 + 0x8]
000012B0 200C move.l D0, A4
000012B2 9088 sub.l D0, A0
000012B4 7264 moveq.l D1, 0x64
000012B6 B280 cmp.l D1, D0
000012B8 5DC0 slt D0
000012BA 4400 neg.b D0
000012BC 4CEE 18C8 FFE8 movem.l A4,A3,D7,D6,D3, [A6 - 0x18]
000012C2 4E5E unlink A6
000012C4 4E75 rts
000012C6 8846 or.w D4, D6
000012C8 696C bvs +0x6E /* 00001336 */
000012CA 6C4E bge +0x50 /* 0000131A */
000012CC 616D bsr +0x6F /* 0000133B */
000012CE 6500 0000 bcs +0x2 /* 000012D0 */
// begin alternate branch 000012D0-000012DC
label000012D0:
000012D0 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_1: // at 000012D2 (misaligned)
000012D4 0000 206E ori.b D0, 0x6E /* 'n' */
000012D8 000C 3010 ori.b A4, 0x10
// end alternate branch 000012D0-000012DC
export_1:
label000012D0: // (misaligned)
000012D2 4E56 0000 link A6, 0
000012D6 206E 000C movea.l A0, [A6 + 0xC]
000012DA 3010 move.w D0, [A0]
000012DC 5340 subq.w D0, 1
000012DE 6704 beq +0x6 /* 000012E4 */
000012E0 5540 subq.w D0, 2
000012E2 6610 bne +0x12 /* 000012F4 */
label000012E4:
000012E4 206E 0008 movea.l A0, [A6 + 0x8]
000012E8 30BC 0001 move.w [A0], 0x1
000012EC 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000012F2 6004 bra +0x6 /* 000012F8 */
label000012F4:
000012F4 422E 0014 clr.b [A6 + 0x14]
label000012F8:
000012F8 4E5E unlink A6
000012FA 205F movea.l A0, [A7]+
000012FC 4FEF 000C lea.l A7, [A7 + 0xC]
00001300 4ED0 jmp [A0]
00001302 8B41 424F pack D5, D1, 0x424F
00001306 5554 subq.w [A4], 2
00001308 4649 not.w A1
0000130A 4C54 4552 movem.l A6,A2,A0,D6,D4,D1, [A4]
0000130E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001310-00001314
fn00001310:
00001310 4E56 FFDA link A6, -0x0026
// end alternate branch 00001310-00001314
fn00001310: // (misaligned)
00001312 FFDA .extension 0xFDA // unimplemented
00001314 2F0C move.l -[A7], A4
00001316 486E FFDE pea.l [A6 - 0x22]
label0000131A:
0000131A A874 trap GetPort
0000131C 598F subq.l A7, 4
0000131E 3F3C 0080 move.w -[A7], 0x80
00001322 7000 moveq.l D0, 0x00
00001324 2F00 move.l -[A7], D0
00001326 72FF moveq.l D1, 0xFFFFFFFF
00001328 2F01 move.l -[A7], D1
0000132A A97C trap GetNewDialog
0000132C 2857 movea.l A4, [A7]
0000132E 7001 moveq.l D0, 0x01
00001330 3F00 move.w -[A7], D0
00001332 486E FFDC pea.l [A6 - 0x24]
label00001336:
00001336 486E FFFC pea.l [A6 - 0x4]
0000133A 486E FFF4 pea.l [A6 - 0xC]
fn0000133B: // (misaligned)
0000133E A98D trap GetDialogItem/GetDItem
00001340 2F0C move.l -[A7], A4
00001342 A873 trap SetPort
00001344 486E FFF4 pea.l [A6 - 0xC]
00001348 70FC moveq.l D0, 0xFFFFFFFC
0000134A 3F00 move.w -[A7], D0
0000134C 3F00 move.w -[A7], D0
0000134E A8A9 trap InsetRect
00001350 486E FFE2 pea.l [A6 - 0x1E]
00001354 A898 trap GetPenState
00001356 7003 moveq.l D0, 0x03
00001358 3F00 move.w -[A7], D0
0000135A 3F00 move.w -[A7], D0
0000135C A89B trap PenSize
0000135E 486E FFF4 pea.l [A6 - 0xC]
00001362 7010 moveq.l D0, 0x10
00001364 3F00 move.w -[A7], D0
00001366 3F00 move.w -[A7], D0
00001368 A8B0 trap FrameRoundRect
0000136A 486E FFE2 pea.l [A6 - 0x1E]
0000136E A899 trap SetPenState
label00001370:
00001370 486D 002A pea.l [A5 + 0x2A]
00001374 486E FFDA pea.l [A6 - 0x26]
00001378 A991 trap ModalDialog
0000137A 7001 moveq.l D0, 0x01
0000137C B06E FFDA cmp.w D0, [A6 - 0x26]
00001380 66EE bne -0x10 /* 00001370 */
00001382 2F0C move.l -[A7], A4
00001384 A983 trap DisposeDialog
00001386 2F2E FFDE move.l -[A7], [A6 - 0x22]
0000138A A873 trap SetPort
0000138C 286E FFD6 movea.l A4, [A6 - 0x2A]
00001390 4E5E unlink A6
00001392 4E75 rts
00001394 8A44 or.w D5, D4
00001396 6F41 ble +0x43 /* 000013D9 */
00001398 626F bhi +0x71 /* 00001409 */
0000139A 7574 moveq.l D2, 0x74
0000139C 426F 7800 clr.w [A7 + 0x7800]
000013A0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000013A2-000013A6
fn000013A2:
000013A2 4E56 FEEE link A6, -0x0112
// end alternate branch 000013A2-000013A6
fn000013A2: // (misaligned)
000013A4 FEEE .extension 0xEEE // unimplemented
000013A6 48E7 0018 movem.l -[A7], A3,A4
000013AA 47EE FF00 lea.l A3, [A6 - 0x100]
000013AE 286E 0008 movea.l A4, [A6 + 0x8]
000013B2 2F0C move.l -[A7], A4
000013B4 7003 moveq.l D0, 0x03
000013B6 3F00 move.w -[A7], D0
000013B8 486E FEF2 pea.l [A6 - 0x10E]
000013BC 486E FEF4 pea.l [A6 - 0x10C]
000013C0 486E FEF8 pea.l [A6 - 0x108]
000013C4 A98D trap GetDialogItem/GetDItem
000013C6 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000013CA 2F0B move.l -[A7], A3
000013CC A990 trap GetDialogItemText/GetIText
000013CE 2F0B move.l -[A7], A3
000013D0 486E FEEE pea.l [A6 - 0x112]
000013D4 4EBA 451C jsr [PC + 0x451C /* 000058F2 */]
000013D8 7001 moveq.l D0, 0x01
label000013D9: // (misaligned)
000013DA B0AE FEEE cmp.l D0, [A6 - 0x112]
000013DE 6E0A bgt +0xC /* 000013EA */
000013E0 0CAE 0000 0100 FEEE cmpi.l [A6 - 0x112], 0x100
000013E8 6F22 ble +0x24 /* 0000140C */
label000013EA:
000013EA 558F subq.l A7, 2
000013EC 3F3C 0081 move.w -[A7], 0x81
000013F0 7000 moveq.l D0, 0x00
000013F2 2F00 move.l -[A7], D0
000013F4 A987 trap NoteAlert
000013F6 2F0C move.l -[A7], A4
000013F8 7003 moveq.l D0, 0x03
000013FA 3F00 move.w -[A7], D0
000013FC 7200 moveq.l D1, 0x00
000013FE 3F01 move.w -[A7], D1
00001400 3F3C 7FFF move.w -[A7], 0x7FFF
00001404 A97E trap SelectDialogItemText/SelIText
00001406 7000 moveq.l D0, 0x00
00001408 544F addq.w A7, 2
label00001409: // (misaligned)
0000140A 6020 bra +0x22 /* 0000142C */
label0000140C:
0000140C 222E FEEE move.l D1, [A6 - 0x112]
00001410 2B41 F466 move.l [A5 - 0xB9A], D1
00001414 2001 move.l D0, D1
00001416 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
00001418 0200 4840 andi.b D0, 0x40 /* '@' */
0000141C C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
0000141E 0200 4840 andi.b D0, 0x40 /* '@' */
00001422 4240 clr.w D0
00001424 D280 add.l D1, D0
00001426 2B41 F46A move.l [A5 - 0xB96], D1
0000142A 7001 moveq.l D0, 0x01
label0000142C:
0000142C 4CEE 1800 FEE6 movem.l A4,A3, [A6 - 0x11A]
00001432 4E5E unlink A6
00001434 4E75 rts
00001436 8E56 or.w D7, [A6]
00001438 616C bsr +0x6E /* 000014A6 */
0000143A 6964 bvs +0x66 /* 000014A0 */
0000143C 426C 6F63 clr.w [A4 + 0x6F63]
00001440 6B53 bmi +0x55 /* 00001495 */
00001442 697A bvs +0x7C /* 000014BE */
00001444 6500 0000 bcs +0x2 /* 00001446 */
// begin alternate branch 00001446-0000144C
label00001446:
00001446 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_2: // at 00001448 (misaligned)
0000144A FFF4 .extension 0xFF4 // unimplemented
// end alternate branch 00001446-0000144C
export_2:
label00001446: // (misaligned)
00001448 4E56 FFF4 link A6, -0x000C
0000144C 48E7 0018 movem.l -[A7], A3,A4
00001450 266E 0010 movea.l A3, [A6 + 0x10]
00001454 286E 000C movea.l A4, [A6 + 0xC]
00001458 3014 move.w D0, [A4]
0000145A 5340 subq.w D0, 1
0000145C 6766 beq +0x68 /* 000014C4 */
0000145E 5540 subq.w D0, 2
00001460 6600 00CC bne +0xCE /* 0000152E */
00001464 203C 0000 00FF move.l D0, 0xFF
0000146A C0AC 0002 and.l D0, [A4 + 0x2]
0000146E 5700 subq.b D0, 3
00001470 677E beq +0x80 /* 000014F0 */
00001472 5B00 subq.b D0, 5
00001474 6700 00B8 beq +0xBA /* 0000152E */
00001478 5300 subq.b D0, 1
0000147A 6700 00B2 beq +0xB4 /* 0000152E */
0000147E 5900 subq.b D0, 4
00001480 676E beq +0x70 /* 000014F0 */
00001482 0400 0023 subi.b D0, 0x23 /* '#' */
00001486 6700 00A6 beq +0xA8 /* 0000152E */
0000148A 5300 subq.b D0, 1
0000148C 6700 00A0 beq +0xA2 /* 0000152E */
00001490 5300 subq.b D0, 1
00001492 6700 009A beq +0x9C /* 0000152E */
label00001495: // (misaligned)
00001496 5300 subq.b D0, 1
00001498 6700 0094 beq +0x96 /* 0000152E */
0000149C 5300 subq.b D0, 1
0000149E 6700 008E beq +0x90 /* 0000152E */
// begin alternate branch 000014A0-000014A6
label000014A0:
000014A0 008E 5300 6700 ori.l A6, 0x53006700 /* 'S\0g\0' */
// end alternate branch 000014A0-000014A6
label000014A0: // (misaligned)
000014A2 5300 subq.b D0, 1
000014A4 6700 0088 beq +0x8A /* 0000152E */
// begin alternate branch 000014A6-000014B2
fn000014A6:
000014A6 0088 5300 6700 ori.l A0, 0x53006700 /* 'S\0g\0' */
000014AC 0082 5300 677C ori.l D2, 0x5300677C /* 'S\0g|' */
// end alternate branch 000014A6-000014B2
fn000014A6: // (misaligned)
000014A8 5300 subq.b D0, 1
000014AA 6700 0082 beq +0x84 /* 0000152E */
000014AE 5300 subq.b D0, 1
000014B0 677C beq +0x7E /* 0000152E */
000014B2 5300 subq.b D0, 1
000014B4 6778 beq +0x7A /* 0000152E */
000014B6 5300 subq.b D0, 1
000014B8 6774 beq +0x76 /* 0000152E */
000014BA 7005 moveq.l D0, 0x05
000014BC 3F00 move.w -[A7], D0
label000014BE:
000014BE A9C8 trap SysBeep
000014C0 4254 clr.w [A4]
000014C2 606A bra +0x6C /* 0000152E */
label000014C4:
000014C4 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
000014CA 486E FFFC pea.l [A6 - 0x4]
000014CE A874 trap GetPort
000014D0 2F0B move.l -[A7], A3
000014D2 A873 trap SetPort
000014D4 486E FFF8 pea.l [A6 - 0x8]
000014D8 A871 trap GlobalToLocal
000014DA 2F2E FFFC move.l -[A7], [A6 - 0x4]
000014DE A873 trap SetPort
000014E0 558F subq.l A7, 2
000014E2 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000014E6 486D F178 pea.l [A5 - 0xE88]
000014EA A8AD trap PtInRect
000014EC 4A1F tst.b [A7]+
000014EE 673E beq +0x40 /* 0000152E */
label000014F0:
000014F0 2F0B move.l -[A7], A3
000014F2 4EBA FEAE jsr [PC - 0x152 /* 000013A2 */]
000014F6 4A00 tst.b D0
000014F8 584F addq.w A7, 4
000014FA 6730 beq +0x32 /* 0000152C */
000014FC 206E 0008 movea.l A0, [A6 + 0x8]
00001500 30BC 0001 move.w [A0], 0x1
00001504 2F2D F174 move.l -[A7], [A5 - 0xE8C]
00001508 7001 moveq.l D0, 0x01
0000150A 3F00 move.w -[A7], D0
0000150C A95D trap HiliteControl
0000150E 307C 0008 movea.w A0, 0x8
00001512 43EE FFF4 lea.l A1, [A6 - 0xC]
00001516 A03B trap Delay
00001518 2280 move.l [A1], D0
0000151A 2F2D F174 move.l -[A7], [A5 - 0xE8C]
0000151E 7000 moveq.l D0, 0x00
00001520 3F00 move.w -[A7], D0
00001522 A95D trap HiliteControl
00001524 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
0000152A 6006 bra +0x8 /* 00001532 */
label0000152C:
0000152C 4254 clr.w [A4]
label0000152E:
0000152E 422E 0014 clr.b [A6 + 0x14]
label00001532:
00001532 4CEE 1800 FFEC movem.l A4,A3, [A6 - 0x14]
00001538 4E5E unlink A6
0000153A 205F movea.l A0, [A7]+
0000153C 4FEF 000C lea.l A7, [A7 + 0xC]
00001540 4ED0 jmp [A0]
00001542 8B42 4C4F pack D5, D2, 0x4C4F
00001546 434B chk.w D1, A3
00001548 4649 not.w A1
0000154A 4C54 4552 movem.l A6,A2,A0,D6,D4,D1, [A4]
0000154E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001550-00001554
fn00001550:
00001550 4E56 FEEE link A6, -0x0112
// end alternate branch 00001550-00001554
fn00001550: // (misaligned)
00001552 FEEE .extension 0xEEE // unimplemented
00001554 48E7 0018 movem.l -[A7], A3,A4
00001558 47EE FF00 lea.l A3, [A6 - 0x100]
0000155C 286E 0008 movea.l A4, [A6 + 0x8]
00001560 2F0C move.l -[A7], A4
00001562 7003 moveq.l D0, 0x03
00001564 3F00 move.w -[A7], D0
00001566 486E FEF2 pea.l [A6 - 0x10E]
0000156A 486E FEF4 pea.l [A6 - 0x10C]
0000156E 486E FEF8 pea.l [A6 - 0x108]
00001572 A98D trap GetDialogItem/GetDItem
00001574 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001578 2F0B move.l -[A7], A3
0000157A A990 trap GetDialogItemText/GetIText
0000157C 2F0B move.l -[A7], A3
0000157E 486E FEEE pea.l [A6 - 0x112]
00001582 4EBA 436E jsr [PC + 0x436E /* 000058F2 */]
00001586 4AAE FEEE tst.l [A6 - 0x112]
0000158A 6D08 blt +0xA /* 00001594 */
0000158C 7006 moveq.l D0, 0x06
0000158E B0AE FEEE cmp.l D0, [A6 - 0x112]
00001592 6C22 bge +0x24 /* 000015B6 */
label00001594:
00001594 558F subq.l A7, 2
00001596 3F3C 0089 move.w -[A7], 0x89
0000159A 7000 moveq.l D0, 0x00
0000159C 2F00 move.l -[A7], D0
0000159E A987 trap NoteAlert
000015A0 2F0C move.l -[A7], A4
000015A2 7003 moveq.l D0, 0x03
000015A4 3F00 move.w -[A7], D0
000015A6 7200 moveq.l D1, 0x00
000015A8 3F01 move.w -[A7], D1
000015AA 3F3C 7FFF move.w -[A7], 0x7FFF
000015AE A97E trap SelectDialogItemText/SelIText
000015B0 7000 moveq.l D0, 0x00
000015B2 544F addq.w A7, 2
000015B4 6008 bra +0xA /* 000015BE */
label000015B6:
000015B6 2B6E FEEE F478 move.l [A5 - 0xB88], [A6 - 0x112]
000015BC 7001 moveq.l D0, 0x01
label000015BE:
000015BE 4CEE 1800 FEE6 movem.l A4,A3, [A6 - 0x11A]
000015C4 4E5E unlink A6
000015C6 4E75 rts
000015C8 8B56 or.w [A6], D5
000015CA 616C bsr +0x6E /* 00001638 */
000015CC 6964 bvs +0x66 /* 00001632 */
000015CE 5461 addq.w -[A1], 2
000015D0 7065 moveq.l D0, 0x65
000015D2 4944 chk.w D4, D4
000015D4 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_3: // at 000015D6 (misaligned)
000015D8 FFF4 .extension 0xFF4 // unimplemented
000015DA 48E7 0018 movem.l -[A7], A3,A4
000015DE 266E 0010 movea.l A3, [A6 + 0x10]
000015E2 286E 000C movea.l A4, [A6 + 0xC]
000015E6 3014 move.w D0, [A4]
000015E8 5340 subq.w D0, 1
000015EA 6770 beq +0x72 /* 0000165C */
000015EC 5540 subq.w D0, 2
000015EE 6600 0146 bne +0x148 /* 00001736 */
000015F2 203C 0000 00FF move.l D0, 0xFF
000015F8 C0AC 0002 and.l D0, [A4 + 0x2]
000015FC 5700 subq.b D0, 3
000015FE 6700 0088 beq +0x8A /* 00001688 */
00001602 5B00 subq.b D0, 5
00001604 6700 0130 beq +0x132 /* 00001736 */
00001608 5300 subq.b D0, 1
0000160A 6700 012A beq +0x12C /* 00001736 */
0000160E 5900 subq.b D0, 4
00001610 6776 beq +0x78 /* 00001688 */
00001612 0400 0023 subi.b D0, 0x23 /* '#' */
00001616 6700 011E beq +0x120 /* 00001736 */
0000161A 5300 subq.b D0, 1
0000161C 6700 0118 beq +0x11A /* 00001736 */
00001620 5300 subq.b D0, 1
00001622 6700 0112 beq +0x114 /* 00001736 */
00001626 5300 subq.b D0, 1
00001628 6700 010C beq +0x10E /* 00001736 */
0000162C 5300 subq.b D0, 1
0000162E 6700 0106 beq +0x108 /* 00001736 */
label00001632:
00001632 5300 subq.b D0, 1
00001634 6700 0100 beq +0x102 /* 00001736 */
fn00001638:
00001638 5300 subq.b D0, 1
0000163A 6700 00FA beq +0xFC /* 00001736 */
0000163E 5300 subq.b D0, 1
00001640 6700 00F4 beq +0xF6 /* 00001736 */
00001644 5300 subq.b D0, 1
00001646 6700 00EE beq +0xF0 /* 00001736 */
0000164A 5300 subq.b D0, 1
0000164C 6700 00E8 beq +0xEA /* 00001736 */
00001650 7005 moveq.l D0, 0x05
00001652 3F00 move.w -[A7], D0
00001654 A9C8 trap SysBeep
00001656 4254 clr.w [A4]
00001658 6000 00DC bra +0xDE /* 00001736 */
label0000165C:
0000165C 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
00001662 486E FFFC pea.l [A6 - 0x4]
00001666 A874 trap GetPort
00001668 2F0B move.l -[A7], A3
0000166A A873 trap SetPort
0000166C 486E FFF8 pea.l [A6 - 0x8]
00001670 A871 trap GlobalToLocal
00001672 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001676 A873 trap SetPort
00001678 558F subq.l A7, 2
0000167A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000167E 486D F178 pea.l [A5 - 0xE88]
00001682 A8AD trap PtInRect
00001684 4A1F tst.b [A7]+
00001686 6740 beq +0x42 /* 000016C8 */
label00001688:
00001688 2F0B move.l -[A7], A3
0000168A 4EBA FEC4 jsr [PC - 0x13C /* 00001550 */]
0000168E 4A00 tst.b D0
00001690 584F addq.w A7, 4
00001692 6730 beq +0x32 /* 000016C4 */
00001694 206E 0008 movea.l A0, [A6 + 0x8]
00001698 30BC 0001 move.w [A0], 0x1
0000169C 2F2D F174 move.l -[A7], [A5 - 0xE8C]
000016A0 7001 moveq.l D0, 0x01
000016A2 3F00 move.w -[A7], D0
000016A4 A95D trap HiliteControl
000016A6 307C 0008 movea.w A0, 0x8
000016AA 43EE FFF4 lea.l A1, [A6 - 0xC]
000016AE A03B trap Delay
000016B0 2280 move.l [A1], D0
000016B2 2F2D F174 move.l -[A7], [A5 - 0xE8C]
000016B6 7000 moveq.l D0, 0x00
000016B8 3F00 move.w -[A7], D0
000016BA A95D trap HiliteControl
000016BC 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000016C2 6076 bra +0x78 /* 0000173A */
label000016C4:
000016C4 4254 clr.w [A4]
000016C6 606E bra +0x70 /* 00001736 */
label000016C8:
000016C8 558F subq.l A7, 2
000016CA 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000016CE 486D F16C pea.l [A5 - 0xE94]
000016D2 A8AD trap PtInRect
000016D4 4A1F tst.b [A7]+
000016D6 6728 beq +0x2A /* 00001700 */
000016D8 558F subq.l A7, 2
000016DA 2F2D F168 move.l -[A7], [A5 - 0xE98]
000016DE A960 trap GetControlValue/GetCtlValue
000016E0 4A5F tst.w [A7]+
000016E2 6704 beq +0x6 /* 000016E8 */
000016E4 7000 moveq.l D0, 0x00
000016E6 6002 bra +0x4 /* 000016EA */
label000016E8:
000016E8 7001 moveq.l D0, 0x01
label000016EA:
000016EA 4880 ext.w D0
000016EC 48C0 ext.l D0
000016EE 2D40 FFF4 move.l [A6 - 0xC], D0
000016F2 2F2D F168 move.l -[A7], [A5 - 0xE98]
000016F6 3F2E FFF6 move.w -[A7], [A6 - 0xA]
000016FA A963 trap SetControlValue/SetCtlValue
000016FC 4254 clr.w [A4]
000016FE 6036 bra +0x38 /* 00001736 */
label00001700:
00001700 558F subq.l A7, 2
00001702 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001706 486D F160 pea.l [A5 - 0xEA0]
0000170A A8AD trap PtInRect
0000170C 4A1F tst.b [A7]+
0000170E 6726 beq +0x28 /* 00001736 */
00001710 558F subq.l A7, 2
00001712 2F2D F15C move.l -[A7], [A5 - 0xEA4]
00001716 A960 trap GetControlValue/GetCtlValue
00001718 4A5F tst.w [A7]+
0000171A 6704 beq +0x6 /* 00001720 */
0000171C 7000 moveq.l D0, 0x00
0000171E 6002 bra +0x4 /* 00001722 */
label00001720:
00001720 7001 moveq.l D0, 0x01
label00001722:
00001722 4880 ext.w D0
00001724 48C0 ext.l D0
00001726 2D40 FFF4 move.l [A6 - 0xC], D0
0000172A 2F2D F15C move.l -[A7], [A5 - 0xEA4]
0000172E 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00001732 A963 trap SetControlValue/SetCtlValue
00001734 4254 clr.w [A4]
label00001736:
00001736 422E 0014 clr.b [A6 + 0x14]
label0000173A:
0000173A 4CEE 1800 FFEC movem.l A4,A3, [A6 - 0x14]
00001740 4E5E unlink A6
00001742 205F movea.l A0, [A7]+
00001744 4FEF 000C lea.l A7, [A7 + 0xC]
00001748 4ED0 jmp [A0]
0000174A 8A54 or.w D5, [A4]
0000174C 4150 chk.w D0, [A0]
0000174E 4546 chk.w D2, D6
00001750 494C chk.w D4, A4
00001752 5445 addq.w D5, 2
00001754 5200 addq.b D0, 1
00001756 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_4: // at 00001758 (misaligned)
0000175A FFF4 .extension 0xFF4 // unimplemented
0000175C 2F0C move.l -[A7], A4
0000175E 286E 000C movea.l A4, [A6 + 0xC]
00001762 3014 move.w D0, [A4]
00001764 5340 subq.w D0, 1
00001766 671A beq +0x1C /* 00001782 */
00001768 5540 subq.w D0, 2
0000176A 6674 bne +0x76 /* 000017E0 */
0000176C 203C 0000 00FF move.l D0, 0xFF
00001772 C0AC 0002 and.l D0, [A4 + 0x2]
00001776 5700 subq.b D0, 3
00001778 6736 beq +0x38 /* 000017B0 */
0000177A 0400 000A subi.b D0, 0xA /* '\n' */
0000177E 6730 beq +0x32 /* 000017B0 */
00001780 605E bra +0x60 /* 000017E0 */
label00001782:
00001782 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
00001788 486E FFFC pea.l [A6 - 0x4]
0000178C A874 trap GetPort
0000178E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001792 A873 trap SetPort
00001794 486E FFF8 pea.l [A6 - 0x8]
00001798 A871 trap GlobalToLocal
0000179A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000179E A873 trap SetPort
000017A0 558F subq.l A7, 2
000017A2 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000017A6 486D F178 pea.l [A5 - 0xE88]
000017AA A8AD trap PtInRect
000017AC 4A1F tst.b [A7]+
000017AE 6730 beq +0x32 /* 000017E0 */
label000017B0:
000017B0 206E 0008 movea.l A0, [A6 + 0x8]
000017B4 30BC 0001 move.w [A0], 0x1
000017B8 2F2D F174 move.l -[A7], [A5 - 0xE8C]
000017BC 7001 moveq.l D0, 0x01
000017BE 3F00 move.w -[A7], D0
000017C0 A95D trap HiliteControl
000017C2 307C 0008 movea.w A0, 0x8
000017C6 43EE FFF4 lea.l A1, [A6 - 0xC]
000017CA A03B trap Delay
000017CC 2280 move.l [A1], D0
000017CE 2F2D F174 move.l -[A7], [A5 - 0xE8C]
000017D2 7000 moveq.l D0, 0x00
000017D4 3F00 move.w -[A7], D0
000017D6 A95D trap HiliteControl
000017D8 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000017DE 6004 bra +0x6 /* 000017E4 */
label000017E0:
000017E0 422E 0014 clr.b [A6 + 0x14]
label000017E4:
000017E4 286E FFF0 movea.l A4, [A6 - 0x10]
000017E8 4E5E unlink A6
000017EA 205F movea.l A0, [A7]+
000017EC 4FEF 000C lea.l A7, [A7 + 0xC]
000017F0 4ED0 jmp [A0]
000017F2 9143 subx.w D0, D3
000017F4 5245 addq.w D5, 1
000017F6 4154 chk.w D0, [A4]
000017F8 4F52 chk.w D7, [A2]
000017FA 5459 addq.w [A1]+, 2
000017FC 5045 addq.w D5, 8
000017FE 4649 not.w A1
00001800 4C54 4552 movem.l A6,A2,A0,D6,D4,D1, [A4]
00001804 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_5: // at 00001806 (misaligned)
00001808 FFF0 .extension 0xFF0 // unimplemented
0000180A 48E7 0018 movem.l -[A7], A3,A4
0000180E 266E 0008 movea.l A3, [A6 + 0x8]
00001812 286E 000C movea.l A4, [A6 + 0xC]
00001816 7003 moveq.l D0, 0x03
00001818 B054 cmp.w D0, [A4]
0000181A 6620 bne +0x22 /* 0000183C */
0000181C 203C 0000 00FF move.l D0, 0xFF
00001822 C0AC 0002 and.l D0, [A4 + 0x2]
00001826 5700 subq.b D0, 3
00001828 6706 beq +0x8 /* 00001830 */
0000182A 0400 000A subi.b D0, 0xA /* '\n' */
0000182E 660C bne +0xE /* 0000183C */
label00001830:
00001830 36BC 0002 move.w [A3], 0x2
00001834 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
0000183A 602E bra +0x30 /* 0000186A */
label0000183C:
0000183C 303C 0080 move.w D0, 0x80
00001840 41EE FFF0 lea.l A0, [A6 - 0x10]
00001844 A031 trap GetOSEvent
00001846 5240 addq.w D0, 1
00001848 4A00 tst.b D0
0000184A 671A beq +0x1C /* 00001866 */
0000184C 203C 0000 FFFF move.l D0, 0xFFFF
00001852 C0AE FFF2 and.l D0, [A6 - 0xE]
00001856 2B40 F158 move.l [A5 - 0xEA8], D0
0000185A 36BC 0001 move.w [A3], 0x1
0000185E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00001864 6004 bra +0x6 /* 0000186A */
label00001866:
00001866 422E 0014 clr.b [A6 + 0x14]
label0000186A:
0000186A 4CEE 1800 FFE8 movem.l A4,A3, [A6 - 0x18]
00001870 4E5E unlink A6
00001872 205F movea.l A0, [A7]+
00001874 4FEF 000C lea.l A7, [A7 + 0xC]
00001878 4ED0 jmp [A0]
0000187A 8C46 or.w D6, D6
0000187C 4C4F 5050 movem.l A6,A4,D6,D4, A7
00001880 5946 subq.w D6, 4
00001882 494C chk.w D4, A4
00001884 5445 addq.w D5, 2
00001886 5200 addq.b D0, 1
00001888 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000188A-0000188E
fn0000188A:
0000188A 4E56 FEDA link A6, -0x0126
// end alternate branch 0000188A-0000188E
fn0000188A: // (misaligned)
0000188C FEDA .extension 0xEDA // unimplemented
0000188E 48E7 0018 movem.l -[A7], A3,A4
00001892 47EE FEEA lea.l A3, [A6 - 0x116]
00001896 486E FFFC pea.l [A6 - 0x4]
0000189A A874 trap GetPort
0000189C 598F subq.l A7, 4
0000189E 3F3C 0081 move.w -[A7], 0x81
000018A2 7000 moveq.l D0, 0x00
000018A4 2F00 move.l -[A7], D0
000018A6 72FF moveq.l D1, 0xFFFFFFFF
000018A8 2F01 move.l -[A7], D1
000018AA A97C trap GetNewDialog
000018AC 2857 movea.l A4, [A7]
000018AE 7003 moveq.l D0, 0x03
000018B0 3F00 move.w -[A7], D0
000018B2 486E FEE0 pea.l [A6 - 0x120]
000018B6 486E FEDC pea.l [A6 - 0x124]
000018BA 486E FEE2 pea.l [A6 - 0x11E]
000018BE A98D trap GetDialogItem/GetDItem
000018C0 2F2D F466 move.l -[A7], [A5 - 0xB9A]
000018C4 2F0B move.l -[A7], A3
000018C6 4EBA 403E jsr [PC + 0x403E /* 00005906 */]
000018CA 2F2E FEDC move.l -[A7], [A6 - 0x124]
000018CE 2F0B move.l -[A7], A3
000018D0 A98F trap SetDialogItemText/SetIText
000018D2 2F0C move.l -[A7], A4
000018D4 7003 moveq.l D0, 0x03
000018D6 3F00 move.w -[A7], D0
000018D8 7200 moveq.l D1, 0x00
000018DA 3F01 move.w -[A7], D1
000018DC 3F3C 7FFF move.w -[A7], 0x7FFF
000018E0 A97E trap SelectDialogItemText/SelIText
000018E2 2F0C move.l -[A7], A4
000018E4 7001 moveq.l D0, 0x01
000018E6 3F00 move.w -[A7], D0
000018E8 486E FEE0 pea.l [A6 - 0x120]
000018EC 486D F174 pea.l [A5 - 0xE8C]
000018F0 486D F178 pea.l [A5 - 0xE88]
000018F4 A98D trap GetDialogItem/GetDItem
000018F6 2F0C move.l -[A7], A4
000018F8 A873 trap SetPort
000018FA 486D F178 pea.l [A5 - 0xE88]
000018FE 70FC moveq.l D0, 0xFFFFFFFC
00001900 3F00 move.w -[A7], D0
00001902 3F00 move.w -[A7], D0
00001904 A8A9 trap InsetRect
00001906 486E FFEA pea.l [A6 - 0x16]
0000190A A898 trap GetPenState
0000190C 7003 moveq.l D0, 0x03
0000190E 3F00 move.w -[A7], D0
00001910 3F00 move.w -[A7], D0
00001912 A89B trap PenSize
00001914 486D F178 pea.l [A5 - 0xE88]
00001918 7010 moveq.l D0, 0x10
0000191A 3F00 move.w -[A7], D0
0000191C 3F00 move.w -[A7], D0
0000191E A8B0 trap FrameRoundRect
00001920 486E FFEA pea.l [A6 - 0x16]
00001924 A899 trap SetPenState
label00001926:
00001926 486D 0032 pea.l [A5 + 0x32]
0000192A 486E FEDA pea.l [A6 - 0x126]
0000192E A991 trap ModalDialog
00001930 7001 moveq.l D0, 0x01
00001932 B06E FEDA cmp.w D0, [A6 - 0x126]
00001936 6708 beq +0xA /* 00001940 */
00001938 7002 moveq.l D0, 0x02
0000193A B06E FEDA cmp.w D0, [A6 - 0x126]
0000193E 66E6 bne -0x18 /* 00001926 */
label00001940:
00001940 2F0C move.l -[A7], A4
00001942 A983 trap DisposeDialog
00001944 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001948 A873 trap SetPort
0000194A 4CEE 1800 FED2 movem.l A4,A3, [A6 - 0x12E]
00001950 4E5E unlink A6
00001952 4E75 rts
00001954 8B44 6F42 pack D5, D4, 0x6F42
00001958 6C6F bge +0x71 /* 000019C9 */
0000195A 636B bls +0x6D /* 000019C7 */
0000195C 5369 7A65 subq.w [A1 + 0x7A65], 1
00001960 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001962-00001966
fn00001962:
00001962 4E56 FED6 link A6, -0x012A
// end alternate branch 00001962-00001966
fn00001962: // (misaligned)
00001964 FED6 .extension 0xED6 // unimplemented
00001966 48E7 0018 movem.l -[A7], A3,A4
0000196A 49EE FEE6 lea.l A4, [A6 - 0x11A]
0000196E 486E FFF8 pea.l [A6 - 0x8]
00001972 A874 trap GetPort
00001974 598F subq.l A7, 4
00001976 3F3C 0085 move.w -[A7], 0x85
0000197A 7000 moveq.l D0, 0x00
0000197C 2F00 move.l -[A7], D0
0000197E 72FF moveq.l D1, 0xFFFFFFFF
00001980 2F01 move.l -[A7], D1
00001982 A97C trap GetNewDialog
00001984 2657 movea.l A3, [A7]
00001986 7003 moveq.l D0, 0x03
00001988 3F00 move.w -[A7], D0
0000198A 486E FEDC pea.l [A6 - 0x124]
0000198E 486E FED8 pea.l [A6 - 0x128]
00001992 486E FEDE pea.l [A6 - 0x122]
00001996 A98D trap GetDialogItem/GetDItem
00001998 2F2D F478 move.l -[A7], [A5 - 0xB88]
0000199C 2F0C move.l -[A7], A4
0000199E 4EBA 3F66 jsr [PC + 0x3F66 /* 00005906 */]
000019A2 2F2E FED8 move.l -[A7], [A6 - 0x128]
000019A6 2F0C move.l -[A7], A4
000019A8 A98F trap SetDialogItemText/SetIText
000019AA 2F0B move.l -[A7], A3
000019AC 7004 moveq.l D0, 0x04
000019AE 3F00 move.w -[A7], D0
000019B0 486E FEDC pea.l [A6 - 0x124]
000019B4 486E FED8 pea.l [A6 - 0x128]
000019B8 486E FEDE pea.l [A6 - 0x122]
000019BC A98D trap GetDialogItem/GetDItem
000019BE 2F2D F47C move.l -[A7], [A5 - 0xB84]
000019C2 2F0C move.l -[A7], A4
000019C4 4EBA 3F40 jsr [PC + 0x3F40 /* 00005906 */]
label000019C7: // (misaligned)
000019C8 2F2E FED8 move.l -[A7], [A6 - 0x128]
label000019C9: // (misaligned)
000019CC 2F0C move.l -[A7], A4
000019CE A98F trap SetDialogItemText/SetIText
000019D0 2F0B move.l -[A7], A3
000019D2 7005 moveq.l D0, 0x05
000019D4 3F00 move.w -[A7], D0
000019D6 486E FEDC pea.l [A6 - 0x124]
000019DA 486E FED8 pea.l [A6 - 0x128]
000019DE 486E FEDE pea.l [A6 - 0x122]
000019E2 A98D trap GetDialogItem/GetDItem
000019E4 2F2D F480 move.l -[A7], [A5 - 0xB80]
000019E8 2F0C move.l -[A7], A4
000019EA 4EBA 3F1A jsr [PC + 0x3F1A /* 00005906 */]
000019EE 2F2E FED8 move.l -[A7], [A6 - 0x128]
000019F2 2F0C move.l -[A7], A4
000019F4 A98F trap SetDialogItemText/SetIText
000019F6 2F0B move.l -[A7], A3
000019F8 7006 moveq.l D0, 0x06
000019FA 3F00 move.w -[A7], D0
000019FC 486E FEDC pea.l [A6 - 0x124]
00001A00 486E FED8 pea.l [A6 - 0x128]
00001A04 486E FEDE pea.l [A6 - 0x122]
00001A08 A98D trap GetDialogItem/GetDItem
00001A0A 2F2D F484 move.l -[A7], [A5 - 0xB7C]
00001A0E 2F0C move.l -[A7], A4
00001A10 4EBA 3EF4 jsr [PC + 0x3EF4 /* 00005906 */]
00001A14 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001A18 2F0C move.l -[A7], A4
00001A1A A98F trap SetDialogItemText/SetIText
00001A1C 2F0B move.l -[A7], A3
00001A1E 7007 moveq.l D0, 0x07
00001A20 3F00 move.w -[A7], D0
00001A22 486E FEDC pea.l [A6 - 0x124]
00001A26 486E FED8 pea.l [A6 - 0x128]
00001A2A 486E FEDE pea.l [A6 - 0x122]
00001A2E A98D trap GetDialogItem/GetDItem
00001A30 2F2D F48A move.l -[A7], [A5 - 0xB76]
00001A34 2F0C move.l -[A7], A4
00001A36 4EBA 3ECE jsr [PC + 0x3ECE /* 00005906 */]
00001A3A 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001A3E 2F0C move.l -[A7], A4
00001A40 A98F trap SetDialogItemText/SetIText
00001A42 2F0B move.l -[A7], A3
00001A44 7009 moveq.l D0, 0x09
00001A46 3F00 move.w -[A7], D0
00001A48 486E FEDC pea.l [A6 - 0x124]
00001A4C 486E FED8 pea.l [A6 - 0x128]
00001A50 486E FEDE pea.l [A6 - 0x122]
00001A54 A98D trap GetDialogItem/GetDItem
00001A56 2F2D F48E move.l -[A7], [A5 - 0xB72]
00001A5A 2F0C move.l -[A7], A4
00001A5C 4EBA 3EA8 jsr [PC + 0x3EA8 /* 00005906 */]
00001A60 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001A64 2F0C move.l -[A7], A4
00001A66 A98F trap SetDialogItemText/SetIText
00001A68 2F0B move.l -[A7], A3
00001A6A 7008 moveq.l D0, 0x08
00001A6C 3F00 move.w -[A7], D0
00001A6E 486E FEDC pea.l [A6 - 0x124]
00001A72 486E FED8 pea.l [A6 - 0x128]
00001A76 486E FEDE pea.l [A6 - 0x122]
00001A7A A98D trap GetDialogItem/GetDItem
00001A7C 2F2D F492 move.l -[A7], [A5 - 0xB6E]
00001A80 2F0C move.l -[A7], A4
00001A82 4EBA 3E82 jsr [PC + 0x3E82 /* 00005906 */]
00001A86 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001A8A 2F0C move.l -[A7], A4
00001A8C A98F trap SetDialogItemText/SetIText
00001A8E 2F0B move.l -[A7], A3
00001A90 700A moveq.l D0, 0x0A
00001A92 3F00 move.w -[A7], D0
00001A94 486E FEDC pea.l [A6 - 0x124]
00001A98 486D F168 pea.l [A5 - 0xE98]
00001A9C 486D F16C pea.l [A5 - 0xE94]
00001AA0 A98D trap GetDialogItem/GetDItem
00001AA2 2F2D F168 move.l -[A7], [A5 - 0xE98]
00001AA6 4A2D F488 tst.b [A5 - 0xB78]
00001AAA 6704 beq +0x6 /* 00001AB0 */
00001AAC 7001 moveq.l D0, 0x01
00001AAE 6002 bra +0x4 /* 00001AB2 */
label00001AB0:
00001AB0 7000 moveq.l D0, 0x00
label00001AB2:
00001AB2 4880 ext.w D0
00001AB4 3F00 move.w -[A7], D0
00001AB6 A963 trap SetControlValue/SetCtlValue
00001AB8 2F0B move.l -[A7], A3
00001ABA 700B moveq.l D0, 0x0B
00001ABC 3F00 move.w -[A7], D0
00001ABE 486E FEDC pea.l [A6 - 0x124]
00001AC2 486D F15C pea.l [A5 - 0xEA4]
00001AC6 486D F160 pea.l [A5 - 0xEA0]
00001ACA A98D trap GetDialogItem/GetDItem
00001ACC 2F2D F15C move.l -[A7], [A5 - 0xEA4]
00001AD0 4A2D F489 tst.b [A5 - 0xB77]
00001AD4 6704 beq +0x6 /* 00001ADA */
00001AD6 7001 moveq.l D0, 0x01
00001AD8 6002 bra +0x4 /* 00001ADC */
label00001ADA:
00001ADA 7000 moveq.l D0, 0x00
label00001ADC:
00001ADC 4880 ext.w D0
00001ADE 3F00 move.w -[A7], D0
00001AE0 A963 trap SetControlValue/SetCtlValue
00001AE2 2F0B move.l -[A7], A3
00001AE4 7003 moveq.l D0, 0x03
00001AE6 3F00 move.w -[A7], D0
00001AE8 7200 moveq.l D1, 0x00
00001AEA 3F01 move.w -[A7], D1
00001AEC 3F3C 7FFF move.w -[A7], 0x7FFF
00001AF0 A97E trap SelectDialogItemText/SelIText
00001AF2 2F0B move.l -[A7], A3
00001AF4 7001 moveq.l D0, 0x01
00001AF6 3F00 move.w -[A7], D0
00001AF8 486E FEDC pea.l [A6 - 0x124]
00001AFC 486D F174 pea.l [A5 - 0xE8C]
00001B00 486D F178 pea.l [A5 - 0xE88]
00001B04 A98D trap GetDialogItem/GetDItem
00001B06 2F0B move.l -[A7], A3
00001B08 A873 trap SetPort
00001B0A 486D F178 pea.l [A5 - 0xE88]
00001B0E 70FC moveq.l D0, 0xFFFFFFFC
00001B10 3F00 move.w -[A7], D0
00001B12 3F00 move.w -[A7], D0
00001B14 A8A9 trap InsetRect
00001B16 486E FFE6 pea.l [A6 - 0x1A]
00001B1A A898 trap GetPenState
00001B1C 7003 moveq.l D0, 0x03
00001B1E 3F00 move.w -[A7], D0
00001B20 3F00 move.w -[A7], D0
00001B22 A89B trap PenSize
00001B24 486D F178 pea.l [A5 - 0xE88]
00001B28 7010 moveq.l D0, 0x10
00001B2A 3F00 move.w -[A7], D0
00001B2C 3F00 move.w -[A7], D0
00001B2E A8B0 trap FrameRoundRect
00001B30 486E FFE6 pea.l [A6 - 0x1A]
00001B34 A899 trap SetPenState
label00001B36:
00001B36 486D 003A pea.l [A5 + 0x3A]
00001B3A 486E FED6 pea.l [A6 - 0x12A]
00001B3E A991 trap ModalDialog
00001B40 7001 moveq.l D0, 0x01
00001B42 B06E FED6 cmp.w D0, [A6 - 0x12A]
00001B46 6708 beq +0xA /* 00001B50 */
00001B48 7002 moveq.l D0, 0x02
00001B4A B06E FED6 cmp.w D0, [A6 - 0x12A]
00001B4E 66E6 bne -0x18 /* 00001B36 */
label00001B50:
00001B50 7001 moveq.l D0, 0x01
00001B52 B06E FED6 cmp.w D0, [A6 - 0x12A]
00001B56 6600 0136 bne +0x138 /* 00001C8E */
00001B5A 2F0B move.l -[A7], A3
00001B5C 7004 moveq.l D0, 0x04
00001B5E 3F00 move.w -[A7], D0
00001B60 486E FEDC pea.l [A6 - 0x124]
00001B64 486E FED8 pea.l [A6 - 0x128]
00001B68 486E FEDE pea.l [A6 - 0x122]
00001B6C A98D trap GetDialogItem/GetDItem
00001B6E 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001B72 2F0C move.l -[A7], A4
00001B74 A990 trap GetDialogItemText/GetIText
00001B76 2F0C move.l -[A7], A4
00001B78 486E FFFC pea.l [A6 - 0x4]
00001B7C 4EBA 3D74 jsr [PC + 0x3D74 /* 000058F2 */]
00001B80 2B6E FFFC F47C move.l [A5 - 0xB84], [A6 - 0x4]
00001B86 2F0B move.l -[A7], A3
00001B88 7005 moveq.l D0, 0x05
00001B8A 3F00 move.w -[A7], D0
00001B8C 486E FEDC pea.l [A6 - 0x124]
00001B90 486E FED8 pea.l [A6 - 0x128]
00001B94 486E FEDE pea.l [A6 - 0x122]
00001B98 A98D trap GetDialogItem/GetDItem
00001B9A 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001B9E 2F0C move.l -[A7], A4
00001BA0 A990 trap GetDialogItemText/GetIText
00001BA2 2F0C move.l -[A7], A4
00001BA4 486E FFFC pea.l [A6 - 0x4]
00001BA8 4EBA 3D48 jsr [PC + 0x3D48 /* 000058F2 */]
00001BAC 2B6E FFFC F480 move.l [A5 - 0xB80], [A6 - 0x4]
00001BB2 2F0B move.l -[A7], A3
00001BB4 7006 moveq.l D0, 0x06
00001BB6 3F00 move.w -[A7], D0
00001BB8 486E FEDC pea.l [A6 - 0x124]
00001BBC 486E FED8 pea.l [A6 - 0x128]
00001BC0 486E FEDE pea.l [A6 - 0x122]
00001BC4 A98D trap GetDialogItem/GetDItem
00001BC6 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001BCA 2F0C move.l -[A7], A4
00001BCC A990 trap GetDialogItemText/GetIText
00001BCE 2F0C move.l -[A7], A4
00001BD0 486E FFFC pea.l [A6 - 0x4]
00001BD4 4EBA 3D1C jsr [PC + 0x3D1C /* 000058F2 */]
00001BD8 2B6E FFFC F484 move.l [A5 - 0xB7C], [A6 - 0x4]
00001BDE 2F0B move.l -[A7], A3
00001BE0 7007 moveq.l D0, 0x07
00001BE2 3F00 move.w -[A7], D0
00001BE4 486E FEDC pea.l [A6 - 0x124]
00001BE8 486E FED8 pea.l [A6 - 0x128]
00001BEC 486E FEDE pea.l [A6 - 0x122]
00001BF0 A98D trap GetDialogItem/GetDItem
00001BF2 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001BF6 2F0C move.l -[A7], A4
00001BF8 A990 trap GetDialogItemText/GetIText
00001BFA 2F0C move.l -[A7], A4
00001BFC 486E FFFC pea.l [A6 - 0x4]
00001C00 4EBA 3CF0 jsr [PC + 0x3CF0 /* 000058F2 */]
00001C04 2B6E FFFC F48A move.l [A5 - 0xB76], [A6 - 0x4]
00001C0A 2F0B move.l -[A7], A3
00001C0C 7009 moveq.l D0, 0x09
00001C0E 3F00 move.w -[A7], D0
00001C10 486E FEDC pea.l [A6 - 0x124]
00001C14 486E FED8 pea.l [A6 - 0x128]
00001C18 486E FEDE pea.l [A6 - 0x122]
00001C1C A98D trap GetDialogItem/GetDItem
00001C1E 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001C22 2F0C move.l -[A7], A4
00001C24 A990 trap GetDialogItemText/GetIText
00001C26 2F0C move.l -[A7], A4
00001C28 486E FFFC pea.l [A6 - 0x4]
00001C2C 4EBA 3CC4 jsr [PC + 0x3CC4 /* 000058F2 */]
00001C30 2B6E FFFC F48E move.l [A5 - 0xB72], [A6 - 0x4]
00001C36 2F0B move.l -[A7], A3
00001C38 7008 moveq.l D0, 0x08
00001C3A 3F00 move.w -[A7], D0
00001C3C 486E FEDC pea.l [A6 - 0x124]
00001C40 486E FED8 pea.l [A6 - 0x128]
00001C44 486E FEDE pea.l [A6 - 0x122]
00001C48 A98D trap GetDialogItem/GetDItem
00001C4A 2F2E FED8 move.l -[A7], [A6 - 0x128]
00001C4E 2F0C move.l -[A7], A4
00001C50 A990 trap GetDialogItemText/GetIText
00001C52 2F0C move.l -[A7], A4
00001C54 486E FFFC pea.l [A6 - 0x4]
00001C58 4EBA 3C98 jsr [PC + 0x3C98 /* 000058F2 */]
00001C5C 2B6E FFFC F492 move.l [A5 - 0xB6E], [A6 - 0x4]
00001C62 558F subq.l A7, 2
00001C64 2F2D F168 move.l -[A7], [A5 - 0xE98]
00001C68 A960 trap GetControlValue/GetCtlValue
00001C6A 4A5F tst.w [A7]+
00001C6C 6704 beq +0x6 /* 00001C72 */
00001C6E 7001 moveq.l D0, 0x01
00001C70 6002 bra +0x4 /* 00001C74 */
label00001C72:
00001C72 7000 moveq.l D0, 0x00
label00001C74:
00001C74 1B40 F488 move.b [A5 - 0xB78], D0
00001C78 558F subq.l A7, 2
00001C7A 2F2D F15C move.l -[A7], [A5 - 0xEA4]
00001C7E A960 trap GetControlValue/GetCtlValue
00001C80 4A5F tst.w [A7]+
00001C82 6704 beq +0x6 /* 00001C88 */
00001C84 7001 moveq.l D0, 0x01
00001C86 6002 bra +0x4 /* 00001C8A */
label00001C88:
00001C88 7000 moveq.l D0, 0x00
label00001C8A:
00001C8A 1B40 F489 move.b [A5 - 0xB77], D0
label00001C8E:
00001C8E 2F0B move.l -[A7], A3
00001C90 A983 trap DisposeDialog
00001C92 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001C96 A873 trap SetPort
00001C98 4CEE 1800 FECE movem.l A4,A3, [A6 - 0x132]
00001C9E 4E5E unlink A6
00001CA0 4E75 rts
00001CA2 8D44 6F54 pack D6, D4, 0x6F54
00001CA6 6170 bsr +0x72 /* 00001D18 */
00001CA8 654F bcs +0x51 /* 00001CF9 */
00001CAA 7074 moveq.l D0, 0x74
00001CAC 696F bvs +0x71 /* 00001D1D */
00001CAE 6E73 bgt +0x75 /* 00001D23 */
00001CB0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001CB2-00001CB6
fn00001CB2:
00001CB2 4E56 FEDA link A6, -0x0126
// end alternate branch 00001CB2-00001CB6
fn00001CB2: // (misaligned)
00001CB4 FEDA .extension 0xEDA // unimplemented
00001CB6 48E7 0118 movem.l -[A7], D7,A3,A4
00001CBA 49EE FEEA lea.l A4, [A6 - 0x116]
00001CBE 486E FFFC pea.l [A6 - 0x4]
00001CC2 A874 trap GetPort
00001CC4 598F subq.l A7, 4
00001CC6 3F3C 0083 move.w -[A7], 0x83
00001CCA 7000 moveq.l D0, 0x00
00001CCC 2F00 move.l -[A7], D0
00001CCE 72FF moveq.l D1, 0xFFFFFFFF
00001CD0 2F01 move.l -[A7], D1
00001CD2 A97C trap GetNewDialog
00001CD4 2657 movea.l A3, [A7]
00001CD6 7003 moveq.l D0, 0x03
00001CD8 3F00 move.w -[A7], D0
00001CDA 486E FEE0 pea.l [A6 - 0x120]
00001CDE 486E FEDC pea.l [A6 - 0x124]
00001CE2 486E FEE2 pea.l [A6 - 0x11E]
00001CE6 A98D trap GetDialogItem/GetDItem
00001CE8 18BC 0004 move.b [A4], 0x4
00001CEC 7004 moveq.l D0, 0x04
00001CEE 2F00 move.l -[A7], D0
00001CF0 486D F46E pea.l [A5 - 0xB92]
00001CF4 486C 0001 pea.l [A4 + 0x1]
00001CF8 4EAD 0192 jsr [A5 + 0x192]
label00001CF9: // (misaligned)
00001CFC 2F2E FEDC move.l -[A7], [A6 - 0x124]
00001D00 2F0C move.l -[A7], A4
00001D02 A98F trap SetDialogItemText/SetIText
00001D04 2F0B move.l -[A7], A3
00001D06 7004 moveq.l D0, 0x04
00001D08 3F00 move.w -[A7], D0
00001D0A 486E FEE0 pea.l [A6 - 0x120]
00001D0E 486E FEDC pea.l [A6 - 0x124]
00001D12 486E FEE2 pea.l [A6 - 0x11E]
00001D16 A98D trap GetDialogItem/GetDItem
fn00001D18:
00001D18 18BC 0004 move.b [A4], 0x4
00001D1C 7004 moveq.l D0, 0x04
label00001D1D: // (misaligned)
00001D1E 2F00 move.l -[A7], D0
00001D20 486D F472 pea.l [A5 - 0xB8E]
label00001D23: // (misaligned)
00001D24 486C 0001 pea.l [A4 + 0x1]
00001D28 4EAD 0192 jsr [A5 + 0x192]
00001D2C 2F2E FEDC move.l -[A7], [A6 - 0x124]
00001D30 2F0C move.l -[A7], A4
00001D32 A98F trap SetDialogItemText/SetIText
00001D34 2F0B move.l -[A7], A3
00001D36 7003 moveq.l D0, 0x03
00001D38 3F00 move.w -[A7], D0
00001D3A 7200 moveq.l D1, 0x00
00001D3C 3F01 move.w -[A7], D1
00001D3E 3F3C 7FFF move.w -[A7], 0x7FFF
00001D42 A97E trap SelectDialogItemText/SelIText
00001D44 2F0B move.l -[A7], A3
00001D46 7001 moveq.l D0, 0x01
00001D48 3F00 move.w -[A7], D0
00001D4A 486E FEE0 pea.l [A6 - 0x120]
00001D4E 486D F174 pea.l [A5 - 0xE8C]
00001D52 486D F178 pea.l [A5 - 0xE88]
00001D56 A98D trap GetDialogItem/GetDItem
00001D58 2F0B move.l -[A7], A3
00001D5A A873 trap SetPort
00001D5C 486D F178 pea.l [A5 - 0xE88]
00001D60 70FC moveq.l D0, 0xFFFFFFFC
00001D62 3F00 move.w -[A7], D0
00001D64 3F00 move.w -[A7], D0
00001D66 A8A9 trap InsetRect
00001D68 486E FFEA pea.l [A6 - 0x16]
00001D6C A898 trap GetPenState
00001D6E 7003 moveq.l D0, 0x03
00001D70 3F00 move.w -[A7], D0
00001D72 3F00 move.w -[A7], D0
00001D74 A89B trap PenSize
00001D76 486D F178 pea.l [A5 - 0xE88]
00001D7A 7010 moveq.l D0, 0x10
00001D7C 3F00 move.w -[A7], D0
00001D7E 3F00 move.w -[A7], D0
00001D80 A8B0 trap FrameRoundRect
00001D82 486E FFEA pea.l [A6 - 0x16]
00001D86 A899 trap SetPenState
00001D88 4FEF 0018 lea.l A7, [A7 + 0x18]
label00001D8C:
00001D8C 486D 0042 pea.l [A5 + 0x42]
00001D90 486E FEDA pea.l [A6 - 0x126]
00001D94 A991 trap ModalDialog
00001D96 7001 moveq.l D0, 0x01
00001D98 B06E FEDA cmp.w D0, [A6 - 0x126]
00001D9C 6710 beq +0x12 /* 00001DAE */
00001D9E 7002 moveq.l D0, 0x02
00001DA0 B06E FEDA cmp.w D0, [A6 - 0x126]
00001DA4 6708 beq +0xA /* 00001DAE */
00001DA6 7007 moveq.l D0, 0x07
00001DA8 B06E FEDA cmp.w D0, [A6 - 0x126]
00001DAC 66DE bne -0x20 /* 00001D8C */
label00001DAE:
00001DAE 7001 moveq.l D0, 0x01
00001DB0 B06E FEDA cmp.w D0, [A6 - 0x126]
00001DB4 6600 0096 bne +0x98 /* 00001E4C */
00001DB8 2F0B move.l -[A7], A3
00001DBA 7003 moveq.l D0, 0x03
00001DBC 3F00 move.w -[A7], D0
00001DBE 486E FEE0 pea.l [A6 - 0x120]
00001DC2 486E FEDC pea.l [A6 - 0x124]
00001DC6 486E FEE2 pea.l [A6 - 0x11E]
00001DCA A98D trap GetDialogItem/GetDItem
00001DCC 2F2E FEDC move.l -[A7], [A6 - 0x124]
00001DD0 2F0C move.l -[A7], A4
00001DD2 A990 trap GetDialogItemText/GetIText
00001DD4 7E00 moveq.l D7, 0x00
00001DD6 1E14 move.b D7, [A4]
00001DD8 7004 moveq.l D0, 0x04
00001DDA B087 cmp.l D0, D7
00001DDC 6C02 bge +0x4 /* 00001DE0 */
00001DDE 7E04 moveq.l D7, 0x04
label00001DE0:
00001DE0 7004 moveq.l D0, 0x04
00001DE2 2F00 move.l -[A7], D0
00001DE4 7220 moveq.l D1, 0x20
00001DE6 2F01 move.l -[A7], D1
00001DE8 486D F46E pea.l [A5 - 0xB92]
00001DEC 4EAD 017A jsr [A5 + 0x17A]
00001DF0 2F07 move.l -[A7], D7
00001DF2 486C 0001 pea.l [A4 + 0x1]
00001DF6 486D F46E pea.l [A5 - 0xB92]
00001DFA 4EAD 0172 jsr [A5 + 0x172]
00001DFE 2F0B move.l -[A7], A3
00001E00 7004 moveq.l D0, 0x04
00001E02 3F00 move.w -[A7], D0
00001E04 486E FEE0 pea.l [A6 - 0x120]
00001E08 486E FEDC pea.l [A6 - 0x124]
00001E0C 486E FEE2 pea.l [A6 - 0x11E]
00001E10 A98D trap GetDialogItem/GetDItem
00001E12 2F2E FEDC move.l -[A7], [A6 - 0x124]
00001E16 2F0C move.l -[A7], A4
00001E18 A990 trap GetDialogItemText/GetIText
00001E1A 7E00 moveq.l D7, 0x00
00001E1C 1E14 move.b D7, [A4]
00001E1E 7004 moveq.l D0, 0x04
00001E20 B087 cmp.l D0, D7
00001E22 4FEF 0018 lea.l A7, [A7 + 0x18]
00001E26 6C02 bge +0x4 /* 00001E2A */
00001E28 7E04 moveq.l D7, 0x04
label00001E2A:
00001E2A 7004 moveq.l D0, 0x04
00001E2C 2F00 move.l -[A7], D0
00001E2E 7220 moveq.l D1, 0x20
00001E30 2F01 move.l -[A7], D1
00001E32 486D F472 pea.l [A5 - 0xB8E]
00001E36 4EAD 017A jsr [A5 + 0x17A]
00001E3A 2F07 move.l -[A7], D7
00001E3C 486C 0001 pea.l [A4 + 0x1]
00001E40 486D F472 pea.l [A5 - 0xB8E]
00001E44 4EAD 0172 jsr [A5 + 0x172]
00001E48 4FEF 0018 lea.l A7, [A7 + 0x18]
label00001E4C:
00001E4C 2F0B move.l -[A7], A3
00001E4E A983 trap DisposeDialog
00001E50 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001E54 A873 trap SetPort
00001E56 4CEE 1880 FECE movem.l A4,A3,D7, [A6 - 0x132]
00001E5C 4E5E unlink A6
00001E5E 4E75 rts
00001E60 8D44 6F43 pack D6, D4, 0x6F43
00001E64 7265 moveq.l D1, 0x65
00001E66 6174 bsr +0x76 /* 00001EDC */
00001E68 6F72 ble +0x74 /* 00001EDC */
00001E6A 5479 7065 0000 addq.w [0x70650000], 2
fn00001E70:
00001E70 4E56 FFFE link A6, -0x0002
00001E74 2F0C move.l -[A7], A4
00001E76 7000 moveq.l D0, 0x00
00001E78 2B40 F158 move.l [A5 - 0xEA8], D0
00001E7C 598F subq.l A7, 4
00001E7E 3F3C 0084 move.w -[A7], 0x84
00001E82 7000 moveq.l D0, 0x00
00001E84 2F00 move.l -[A7], D0
00001E86 72FF moveq.l D1, 0xFFFFFFFF
00001E88 2F01 move.l -[A7], D1
00001E8A A97C trap GetNewDialog
00001E8C 285F movea.l A4, [A7]+
label00001E8E:
00001E8E 486D 004A pea.l [A5 + 0x4A]
00001E92 486E FFFE pea.l [A6 - 0x2]
00001E96 A991 trap ModalDialog
00001E98 7003 moveq.l D0, 0x03
00001E9A B06E FFFE cmp.w D0, [A6 - 0x2]
00001E9E 6616 bne +0x18 /* 00001EB6 */
00001EA0 558F subq.l A7, 2
00001EA2 7001 moveq.l D0, 0x01
00001EA4 3F00 move.w -[A7], D0
00001EA6 4EBA 31D6 jsr [PC + 0x31D6 /* 0000507E */]
00001EAA 558F subq.l A7, 2
00001EAC 7002 moveq.l D0, 0x02
00001EAE 3F00 move.w -[A7], D0
00001EB0 4EBA 31CC jsr [PC + 0x31CC /* 0000507E */]
00001EB4 584F addq.w A7, 4
label00001EB6:
00001EB6 7001 moveq.l D0, 0x01
00001EB8 B06E FFFE cmp.w D0, [A6 - 0x2]
00001EBC 6708 beq +0xA /* 00001EC6 */
00001EBE 7002 moveq.l D0, 0x02
00001EC0 B06E FFFE cmp.w D0, [A6 - 0x2]
00001EC4 66C8 bne -0x36 /* 00001E8E */
label00001EC6:
00001EC6 2F0C move.l -[A7], A4
00001EC8 A983 trap DisposeDialog
00001ECA 202D F158 move.l D0, [A5 - 0xEA8]
00001ECE 286E FFFA movea.l A4, [A6 - 0x6]
00001ED2 4E5E unlink A6
00001ED4 4E75 rts
00001ED6 8E44 or.w D7, D4
00001ED8 6F49 ble +0x4B /* 00001F23 */
00001EDA 6E73 bgt +0x75 /* 00001F4F */
fn00001EDC:
00001EDC 6572 bcs +0x74 /* 00001F50 */
00001EDE 7446 moveq.l D2, 0x46
00001EE0 6C6F bge +0x71 /* 00001F51 */
00001EE2 7070 moveq.l D0, 0x70
00001EE4 7900 moveq.l D4, 0x00
00001EE6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001EE8-00001EEC
fn00001EE8:
00001EE8 4E56 FEF0 link A6, -0x0110
// end alternate branch 00001EE8-00001EEC
fn00001EE8: // (misaligned)
00001EEA FEF0 .extension 0xEF0 // unimplemented
00001EEC 2F0C move.l -[A7], A4
00001EEE 49EE FF00 lea.l A4, [A6 - 0x100]
00001EF2 598F subq.l A7, 4
00001EF4 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
00001EFA 3F3C 0082 move.w -[A7], 0x82
00001EFE A9A0 trap GetResource
00001F00 4A9F tst.l [A7]+
00001F02 6640 bne +0x42 /* 00001F44 */
00001F04 486E FEF0 pea.l [A6 - 0x110]
00001F08 A910 trap GetWMgrPort
00001F0A 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00001F0E A873 trap SetPort
00001F10 486E FEF8 pea.l [A6 - 0x108]
00001F14 2F3C 0096 008C move.l -[A7], 0x96008C
00001F1A 2F3C 00B4 0168 move.l -[A7], 0xB40168
00001F20 A8A7 trap SetRect
00001F22 486E FEF8 pea.l [A6 - 0x108]
label00001F23: // (misaligned)
00001F26 A8A3 trap EraseRect
00001F28 2F3C 00AA 0096 move.l -[A7], 0xAA0096
00001F2E A893 trap MoveTo
00001F30 486D F13C pea.l [A5 - 0xEC4]
00001F34 A884 trap DrawString
00001F36 307C 0258 movea.w A0, 0x258
00001F3A 43EE FEF4 lea.l A1, [A6 - 0x10C]
00001F3E A03B trap Delay
00001F40 2280 move.l [A1], D0
00001F42 A9F4 trap ExitToShell
label00001F44:
00001F44 302E 0016 move.w D0, [A6 + 0x16]
00001F48 48C0 ext.l D0
00001F4A 2F00 move.l -[A7], D0
00001F4C 2F0C move.l -[A7], A4
00001F4E 4EBA 39B6 jsr [PC + 0x39B6 /* 00005906 */]
// begin alternate branch 00001F50-00001F5A
label00001F50:
00001F50 39B6 2F2E 0008 2F2E 000C move.w [A4 + D0.w + 0xC], [[A6 + 0x8] + D2 * 8 + 0x2F2E]
// end alternate branch 00001F50-00001F5A
label00001F4F: // (misaligned)
label00001F50: // (misaligned)
label00001F51: // (misaligned)
00001F52 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001F56 2F2E 000C move.l -[A7], [A6 + 0xC]
00001F5A 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001F5E 2F0C move.l -[A7], A4
00001F60 A98B trap ParamText
00001F62 558F subq.l A7, 2
00001F64 3F3C 0082 move.w -[A7], 0x82
00001F68 7000 moveq.l D0, 0x00
00001F6A 2F00 move.l -[A7], D0
00001F6C A986 trap StopAlert
00001F6E 544F addq.w A7, 2
00001F70 286E FEEC movea.l A4, [A6 - 0x114]
00001F74 4E5E unlink A6
00001F76 4E75 rts
00001F78 874F 5341 pack -[A3], -[A7], 0x5341
00001F7C 6C65 bge +0x67 /* 00001FE3 */
00001F7E 7274 moveq.l D1, 0x74
00001F80 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001F82-00001F94
fn00001F82:
00001F82 4E56 0000 link A6, 0
00001F86 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001F8A 2F2E 000C move.l -[A7], [A6 + 0xC]
00001F8E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001F92 7000 moveq.l D0, 0x00
// end alternate branch 00001F82-00001F94
fn00001F82: // (misaligned)
00001F84 0000 2F2E ori.b D0, 0x2E /* '.' */
00001F88 0008 2F2E ori.b A0, 0x2E /* '.' */
00001F8C 000C 2F2E ori.b A4, 0x2E /* '.' */
00001F90 0010 7000 ori.b [A0], 0x0
00001F94 2F00 move.l -[A7], D0
00001F96 A98B trap ParamText
00001F98 558F subq.l A7, 2
00001F9A 3F3C 0083 move.w -[A7], 0x83
00001F9E 7000 moveq.l D0, 0x00
00001FA0 2F00 move.l -[A7], D0
00001FA2 A986 trap StopAlert
00001FA4 301F move.w D0, [A7]+
00001FA6 48C0 ext.l D0
00001FA8 4E5E unlink A6
00001FAA 4E75 rts
00001FAC 8850 or.w D4, [A0]
00001FAE 676D beq +0x6F /* 0000201D */
00001FB0 416C 6572 chk.w D0, [A4 + 0x6572]
00001FB4 7400 moveq.l D2, 0x00
00001FB6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001FB8-00001FBE
fn00001FB8:
00001FB8 4E56 0000 link A6, 0
00001FBC 558F subq.l A7, 2
// end alternate branch 00001FB8-00001FBE
fn00001FB8: // (misaligned)
00001FBA 0000 558F ori.b D0, 0x8F
00001FBE 3F3C 0088 move.w -[A7], 0x88
00001FC2 7000 moveq.l D0, 0x00
00001FC4 2F00 move.l -[A7], D0
00001FC6 A986 trap StopAlert
00001FC8 4E5E unlink A6
00001FCA 4E75 rts
00001FCC 8848 or.w D4, A0
00001FCE 4653 not.w [A3]
00001FD0 416C 6572 chk.w D0, [A4 + 0x6572]
00001FD4 7400 moveq.l D2, 0x00
00001FD6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001FD8-00001FDE
fn00001FD8:
00001FD8 4E56 0000 link A6, 0
00001FDC 558F subq.l A7, 2
// end alternate branch 00001FD8-00001FDE
fn00001FD8: // (misaligned)
00001FDA 0000 558F ori.b D0, 0x8F
00001FDE 3F3C 0084 move.w -[A7], 0x84
00001FE2 7000 moveq.l D0, 0x00
label00001FE3: // (misaligned)
00001FE4 2F00 move.l -[A7], D0
00001FE6 A986 trap StopAlert
00001FE8 4E5E unlink A6
00001FEA 4E75 rts
00001FEC 8C56 or.w D6, [A6]
00001FEE 6572 bcs +0x74 /* 00002062 */
00001FF0 7369 moveq.l D1, 0x69
00001FF2 6F6E ble +0x70 /* 00002062 */
00001FF4 416C 6572 chk.w D0, [A4 + 0x6572]
00001FF8 7400 moveq.l D2, 0x00
00001FFA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001FFC-00002002
fn00001FFC:
00001FFC 4E56 0000 link A6, 0
00002000 558F subq.l A7, 2
// end alternate branch 00001FFC-00002002
fn00001FFC: // (misaligned)
00001FFE 0000 558F ori.b D0, 0x8F
00002002 3F3C 0087 move.w -[A7], 0x87
00002006 7000 moveq.l D0, 0x00
00002008 2F00 move.l -[A7], D0
0000200A A986 trap StopAlert
0000200C 4E5E unlink A6
0000200E 4E75 rts
00002010 8744 4641 pack D3, D4, 0x4641
00002014 6C65 bge +0x67 /* 0000207B */
00002016 7274 moveq.l D1, 0x74
00002018 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000201A-00002020
fn0000201A:
0000201A 4E56 0000 link A6, 0
label0000201D: // (misaligned)
0000201E 558F subq.l A7, 2
// end alternate branch 0000201A-00002020
fn0000201A: // (misaligned)
0000201C 0000 558F ori.b D0, 0x8F
label0000201D: // (misaligned)
00002020 3F3C 0085 move.w -[A7], 0x85
00002024 7000 moveq.l D0, 0x00
00002026 2F00 move.l -[A7], D0
00002028 A987 trap NoteAlert
0000202A 4E5E unlink A6
0000202C 4E75 rts
0000202E 8B41 7253 pack D5, D1, 0x7253
00002032 6B69 bmi +0x6B /* 0000209D */
00002034 7041 moveq.l D0, 0x41
00002036 6C65 bge +0x67 /* 0000209D */
00002038 7274 moveq.l D1, 0x74
0000203A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000203C-00002042
fn0000203C:
0000203C 4E56 0000 link A6, 0
00002040 558F subq.l A7, 2
// end alternate branch 0000203C-00002042
fn0000203C: // (misaligned)
0000203E 0000 558F ori.b D0, 0x8F
00002042 3F3C 0086 move.w -[A7], 0x86
00002046 7000 moveq.l D0, 0x00
00002048 2F00 move.l -[A7], D0
0000204A A986 trap StopAlert
0000204C A9F4 trap ExitToShell
0000204E 4E5E unlink A6
00002050 4E75 rts
00002052 8B53 or.w [A3], D5
00002054 746B moveq.l D2, 0x6B
00002056 4572 7241 chk.w D2, [A2 + D7.w * 2 + 0x41]
0000205A 6C65 bge +0x67 /* 000020C1 */
0000205C 7274 moveq.l D1, 0x74
0000205E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002060-0000206A
fn00002060:
00002060 4E56 0000 link A6, 0
label00002062: // (misaligned)
00002064 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002068 7000 moveq.l D0, 0x00
// end alternate branch 00002060-0000206A
fn00002060: // (misaligned)
label00002062:
00002062 0000 2F2E ori.b D0, 0x2E /* '.' */
00002066 0008 7000 ori.b A0, 0x0
0000206A 2F00 move.l -[A7], D0
0000206C 2F00 move.l -[A7], D0
0000206E 2F00 move.l -[A7], D0
00002070 A98B trap ParamText
00002072 2F00 move.l -[A7], D0
00002074 558F subq.l A7, 2
00002076 3F3C 008A move.w -[A7], 0x8A
0000207A 7200 moveq.l D1, 0x00
label0000207B: // (misaligned)
0000207C 2F01 move.l -[A7], D1
0000207E A986 trap StopAlert
00002080 321F move.w D1, [A7]+
00002082 201F move.l D0, [A7]+
00002084 0C41 0001 cmpi.w D1, 0x1
00002088 56C0 sne D0
0000208A 4400 neg.b D0
0000208C 4E5E unlink A6
0000208E 4E75 rts
00002090 8B53 or.w [A3], D5
00002092 746F moveq.l D2, 0x6F
00002094 7047 moveq.l D0, 0x47
00002096 6F41 ble +0x43 /* 000020D9 */
00002098 6C65 bge +0x67 /* 000020FF */
0000209A 7274 moveq.l D1, 0x74
0000209C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000209E-000020A8
fn0000209E:
0000209E 4E56 0000 link A6, 0
000020A2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000020A6 7000 moveq.l D0, 0x00
// end alternate branch 0000209E-000020A8
label0000209D: // (misaligned)
fn0000209E: // (misaligned)
000020A0 0000 2F2E ori.b D0, 0x2E /* '.' */
000020A4 0008 7000 ori.b A0, 0x0
000020A8 2F00 move.l -[A7], D0
000020AA 2F00 move.l -[A7], D0
000020AC 2F00 move.l -[A7], D0
000020AE A98B trap ParamText
000020B0 558F subq.l A7, 2
000020B2 3F3C 008B move.w -[A7], 0x8B
000020B6 7000 moveq.l D0, 0x00
000020B8 2F00 move.l -[A7], D0
000020BA A986 trap StopAlert
000020BC 4E5E unlink A6
000020BE 4E75 rts
000020C0 8C47 or.w D6, D7
label000020C1: // (misaligned)
000020C2 656E bcs +0x70 /* 00002132 */
000020C4 6572 bcs +0x74 /* 00002138 */
000020C6 6963 bvs +0x65 /* 0000212B */
000020C8 416C 6572 chk.w D0, [A4 + 0x6572]
000020CC 7400 moveq.l D2, 0x00
000020CE 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_6: // at 000020D0 (misaligned)
000020D2 0000 2F07 ori.b D0, 0x7
000020D6 3E2E 000C move.w D7, [A6 + 0xC]
label000020D9: // (misaligned)
000020DA 3007 move.w D0, D7
000020DC 5340 subq.w D0, 1
000020DE 670E beq +0x10 /* 000020EE */
000020E0 0440 000A subi.w D0, 0xA /* '\n' */
000020E4 661A bne +0x1C /* 00002100 */
000020E6 1B7C 0001 F1BA move.b [A5 - 0xE46], 0x1
000020EC 7E01 moveq.l D7, 0x01
label000020EE:
000020EE 3038 0214 move.w D0, [0x00000214 /* SFSaveDisk */]
000020F2 48C0 ext.l D0
000020F4 4480 neg.l D0
000020F6 3B40 F1B8 move.w [A5 - 0xE48], D0
000020FA 2B78 0398 F1B4 move.l [A5 - 0xE4C], [0x00000398 /* CurDirStore */]
label000020FF: // (misaligned)
label00002100:
00002100 3D47 000E move.w [A6 + 0xE], D7
00002104 2E2E FFFC move.l D7, [A6 - 0x4]
00002108 4E5E unlink A6
0000210A 205F movea.l A0, [A7]+
0000210C 5C4F addq.w A7, 6
0000210E 4ED0 jmp [A0]
00002110 8A44 or.w D5, D4
00002112 4941 chk.w D4, D1
00002114 4C4F 4748 movem.l A6,A2,A1,A0,D6,D3, A7
00002118 4F4F chk.w D7, A7
0000211A 4B00 .invalid 5, D0 // invalid opcode 4 with b == 4
0000211C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000211E-00002122
fn0000211E:
0000211E 4E56 FF38 link A6, -0x00C8
// end alternate branch 0000211E-00002122
fn0000211E: // (misaligned)
00002120 FF38 .extension 0xF38 // unimplemented
00002122 2F0C move.l -[A7], A4
00002124 49ED F180 lea.l A4, [A5 - 0xE80]
00002128 3D7C 004B FF38 move.w [A6 - 0xC8], 0x4B /* 'K' */
label0000212B: // (misaligned)
0000212E 3D7C 004B FF3A move.w [A6 - 0xC6], 0x4B /* 'K' */
// begin alternate branch 00002132-00002134
label00002132:
00002132 FF3A .extension 0xF3A // unimplemented
// end alternate branch 00002132-00002134
label00002132: // (misaligned)
00002134 422D F1BA clr.b [A5 - 0xE46]
label00002138:
00002138 2F2E FF38 move.l -[A7], [A6 - 0xC8]
0000213C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002140 7000 moveq.l D0, 0x00
00002142 2F00 move.l -[A7], D0
00002144 72FF moveq.l D1, 0xFFFFFFFF
00002146 3F01 move.w -[A7], D1
00002148 2F00 move.l -[A7], D0
0000214A 486D 0052 pea.l [A5 + 0x52]
0000214E 486E FF3C pea.l [A6 - 0xC4]
00002152 3F3C 0082 move.w -[A7], 0x82
00002156 2F00 move.l -[A7], D0
00002158 3F3C 0004 move.w -[A7], 0x4
0000215C A9EA trap Pack3
0000215E 4A2E FF3C tst.b [A6 - 0xC4]
00002162 6606 bne +0x8 /* 0000216A */
00002164 7000 moveq.l D0, 0x00
00002166 6000 00E0 bra +0xE2 /* 00002248 */
label0000216A:
0000216A 7000 moveq.l D0, 0x00
0000216C 2D40 FF92 move.l [A6 - 0x6E], D0
00002170 2D40 FF98 move.l [A6 - 0x68], D0
00002174 3D6D F1B8 FF9C move.w [A6 - 0x64], [A5 - 0xE48]
0000217A 426E FFA2 clr.w [A6 - 0x5E]
0000217E 558F subq.l A7, 2
00002180 486E FF86 pea.l [A6 - 0x7A]
00002184 7000 moveq.l D0, 0x00
00002186 1F00 move.b -[A7], D0
00002188 4EBA 3234 jsr [PC + 0x3234 /* 000053BE */]
0000218C 4A6E FF96 tst.w [A6 - 0x6A]
00002190 544F addq.w A7, 2
00002192 6720 beq +0x22 /* 000021B4 */
00002194 302E FF96 move.w D0, [A6 - 0x6A]
00002198 48C0 ext.l D0
0000219A 2F00 move.l -[A7], D0
0000219C 7000 moveq.l D0, 0x00
0000219E 2F00 move.l -[A7], D0
000021A0 486D F188 pea.l [A5 - 0xE78]
000021A4 2F0C move.l -[A7], A4
000021A6 4EBA FD40 jsr [PC - 0x2C0 /* 00001EE8 */]
000021AA 7000 moveq.l D0, 0x00
000021AC 4FEF 0010 lea.l A7, [A7 + 0x10]
000021B0 6000 0096 bra +0x98 /* 00002248 */
label000021B4:
000021B4 7000 moveq.l D0, 0x00
000021B6 302E FFC6 move.w D0, [A6 - 0x3A]
000021BA 0C80 0000 4244 cmpi.l D0, 0x4244 /* 'BD' */
000021C0 6708 beq +0xA /* 000021CA */
000021C2 4EBA FDF4 jsr [PC - 0x20C /* 00001FB8 */]
000021C6 7000 moveq.l D0, 0x00
000021C8 607E bra +0x80 /* 00002248 */
label000021CA:
000021CA 4A2E 000F tst.b [A6 + 0xF]
000021CE 6604 bne +0x6 /* 000021D4 */
000021D0 7001 moveq.l D0, 0x01
000021D2 6074 bra +0x76 /* 00002248 */
label000021D4:
000021D4 4A2D F1BA tst.b [A5 - 0xE46]
000021D8 6608 bne +0xA /* 000021E2 */
000021DA 3B6E FF42 F1B8 move.w [A5 - 0xE48], [A6 - 0xBE]
000021E0 6064 bra +0x66 /* 00002246 */
label000021E2:
000021E2 7034 moveq.l D0, 0x34
000021E4 2F00 move.l -[A7], D0
000021E6 7200 moveq.l D1, 0x00
000021E8 2F01 move.l -[A7], D1
000021EA 486D F1BC pea.l [A5 - 0xE44]
000021EE 4EAD 017A jsr [A5 + 0x17A]
000021F2 7000 moveq.l D0, 0x00
000021F4 2B40 F1C8 move.l [A5 - 0xE38], D0
000021F8 2B40 F1CE move.l [A5 - 0xE32], D0
000021FC 3B6D F1B8 F1D2 move.w [A5 - 0xE2E], [A5 - 0xE48]
00002202 2B40 F1D8 move.l [A5 - 0xE28], D0
00002206 2B6D F1B4 F1EC move.l [A5 - 0xE14], [A5 - 0xE4C]
0000220C 558F subq.l A7, 2
0000220E 486D F1BC pea.l [A5 - 0xE44]
00002212 7000 moveq.l D0, 0x00
00002214 1F00 move.b -[A7], D0
00002216 4EBA 3126 jsr [PC + 0x3126 /* 0000533E */]
0000221A 4A5F tst.w [A7]+
0000221C 4FEF 000C lea.l A7, [A7 + 0xC]
00002220 671E beq +0x20 /* 00002240 */
00002222 302D F1CC move.w D0, [A5 - 0xE34]
00002226 48C0 ext.l D0
00002228 2F00 move.l -[A7], D0
0000222A 7000 moveq.l D0, 0x00
0000222C 2F00 move.l -[A7], D0
0000222E 486D F196 pea.l [A5 - 0xE6A]
00002232 2F0C move.l -[A7], A4
00002234 4EBA FCB2 jsr [PC - 0x34E /* 00001EE8 */]
00002238 7000 moveq.l D0, 0x00
0000223A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000223E 6008 bra +0xA /* 00002248 */
label00002240:
00002240 3B6D F1D2 F1B8 move.w [A5 - 0xE48], [A5 - 0xE2E]
label00002246:
00002246 7001 moveq.l D0, 0x01
label00002248:
00002248 286E FF34 movea.l A4, [A6 - 0xCC]
0000224C 4E5E unlink A6
0000224E 4E75 rts
00002250 8647 or.w D3, D7
00002252 6574 bcs +0x76 /* 000022C8 */
00002254 4469 7200 neg.w [A1 + 0x7200]
00002258 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000225A-00002262
fn0000225A:
0000225A 4E56 0000 link A6, 0
0000225E 4A2D F1BA tst.b [A5 - 0xE46]
// end alternate branch 0000225A-00002262
fn0000225A: // (misaligned)
0000225C 0000 4A2D ori.b D0, 0x2D /* '-' */
00002260 F1BA .extension 0x1BA // unimplemented
00002262 672A beq +0x2C /* 0000228E */
00002264 558F subq.l A7, 2
00002266 486D F1BC pea.l [A5 - 0xE44]
0000226A 7000 moveq.l D0, 0x00
0000226C 1F00 move.b -[A7], D0
0000226E 4EBA 30E4 jsr [PC + 0x30E4 /* 00005354 */]
00002272 4A5F tst.w [A7]+
00002274 6718 beq +0x1A /* 0000228E */
00002276 302D F1CC move.w D0, [A5 - 0xE34]
0000227A 48C0 ext.l D0
0000227C 2F00 move.l -[A7], D0
0000227E 7000 moveq.l D0, 0x00
00002280 2F00 move.l -[A7], D0
00002282 486D F1A0 pea.l [A5 - 0xE60]
00002286 486D F1AC pea.l [A5 - 0xE54]
0000228A 4EBA FC5C jsr [PC - 0x3A4 /* 00001EE8 */]
label0000228E:
0000228E 4E5E unlink A6
00002290 4E75 rts
00002292 8652 or.w D3, [A2]
00002294 6C73 bge +0x75 /* 00002309 */
00002296 4469 7200 neg.w [A1 + 0x7200]
0000229A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000229C-000022A2
fn0000229C:
0000229C 4E56 0000 link A6, 0
000022A0 7001 moveq.l D0, 0x01
// end alternate branch 0000229C-000022A2
fn0000229C: // (misaligned)
0000229E 0000 7001 ori.b D0, 0x1
000022A2 2F00 move.l -[A7], D0
000022A4 486D F1F0 pea.l [A5 - 0xE10]
000022A8 4EBA DF58 jsr [PC - 0x20A8 /* 00000202 */]
000022AC 4A00 tst.b D0
000022AE 504F addq.w A7, 8
000022B0 6652 bne +0x54 /* 00002304 */
000022B2 7001 moveq.l D0, 0x01
000022B4 2F00 move.l -[A7], D0
000022B6 486D F202 pea.l [A5 - 0xDFE]
000022BA 4EBA FE62 jsr [PC - 0x19E /* 0000211E */]
000022BE 7200 moveq.l D1, 0x00
000022C0 1200 move.b D1, D0
000022C2 4A81 tst.l D1
000022C4 504F addq.w A7, 8
000022C6 673C beq +0x3E /* 00002304 */
label000022C8:
000022C8 4EBA 214C jsr [PC + 0x214C /* 00004416 */]
000022CC 4A00 tst.b D0
000022CE 6630 bne +0x32 /* 00002300 */
000022D0 7004 moveq.l D0, 0x04
000022D2 3F00 move.w -[A7], D0
000022D4 A888 trap TextFace
000022D6 486D EAFC pea.l [A5 - 0x1504]
000022DA 4EBA 24B4 jsr [PC + 0x24B4 /* 00004790 */]
000022DE 7000 moveq.l D0, 0x00
000022E0 3F00 move.w -[A7], D0
000022E2 A888 trap TextFace
000022E4 486D 005A pea.l [A5 + 0x5A]
000022E8 4EBA 0744 jsr [PC + 0x744 /* 00002A2E */]
000022EC 4EBA E5F8 jsr [PC - 0x1A08 /* 000008E6 */]
000022F0 7000 moveq.l D0, 0x00
000022F2 102D F460 move.b D0, [A5 - 0xBA0]
000022F6 2F00 move.l -[A7], D0
000022F8 4EBA 237C jsr [PC + 0x237C /* 00004676 */]
000022FC 4FEF 000C lea.l A7, [A7 + 0xC]
label00002300:
00002300 4EBA FF58 jsr [PC - 0xA8 /* 0000225A */]
label00002304:
00002304 4E5E unlink A6
00002306 4E75 rts
00002308 8745 7874 pack D3, D5, 0x7874
label00002309: // (misaligned)
0000230C 7261 moveq.l D1, 0x61
0000230E 6374 bls +0x76 /* 00002384 */
00002310 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_7: // at 00002312 (misaligned)
00002314 FDEC .extension 0xDEC // unimplemented
00002316 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000231A 422E FDF9 clr.b [A6 - 0x207]
0000231E 7000 moveq.l D0, 0x00
00002320 2D40 FF04 move.l [A6 - 0xFC], D0
00002324 41ED F21A lea.l A0, [A5 - 0xDE6]
00002328 2D48 FFFC move.l [A6 - 0x4], A0
0000232C 486D F366 pea.l [A5 - 0xC9A]
00002330 4EBA E21C jsr [PC - 0x1DE4 /* 0000054E */]
00002334 2F2D F366 move.l -[A7], [A5 - 0xC9A]
00002338 4EBA DE62 jsr [PC - 0x219E /* 0000019C */]
0000233C 7001 moveq.l D0, 0x01
0000233E 2F00 move.l -[A7], D0
00002340 486D F35E pea.l [A5 - 0xCA2]
00002344 2F2D F366 move.l -[A7], [A5 - 0xC9A]
00002348 4EBA 08B6 jsr [PC + 0x8B6 /* 00002C00 */]
0000234C 4EBA 0954 jsr [PC + 0x954 /* 00002CA2 */]
00002350 206D F366 movea.l A0, [A5 - 0xC9A]
00002354 1028 009C move.b D0, [A0 + 0x9C]
00002358 4FEF 0014 lea.l A7, [A7 + 0x14]
0000235C 672C beq +0x2E /* 0000238A */
0000235E 0400 0030 subi.b D0, 0x30 /* '0' */
00002362 6726 beq +0x28 /* 0000238A */
00002364 5B00 subq.b D0, 5
00002366 6700 038C beq +0x38E /* 000026F4 */
0000236A 206D F366 movea.l A0, [A5 - 0xC9A]
0000236E 2F08 move.l -[A7], A0
00002370 1028 009C move.b D0, [A0 + 0x9C]
00002374 4880 ext.w D0
00002376 48C0 ext.l D0
00002378 2F00 move.l -[A7], D0
0000237A 486D F22A pea.l [A5 - 0xDD6]
0000237E 4EBA 2410 jsr [PC + 0x2410 /* 00004790 */]
00002382 4FEF 000C lea.l A7, [A7 + 0xC]
// begin alternate branch 00002384-0000238E
label00002384:
00002384 000C 6000 ori.b A4, 0x0
00002388 0424 206D subi.b -[A4], 0x6D /* 'm' */
label0000238A: // (misaligned)
0000238C F366 .extension 0x366 // unimplemented
// end alternate branch 00002384-0000238E
label00002384: // (misaligned)
00002386 6000 0424 bra +0x426 /* 000027AC */
label0000238A:
0000238A 206D F366 movea.l A0, [A5 - 0xC9A]
0000238E 2F08 move.l -[A7], A0
00002390 4EAD 018A jsr [A5 + 0x18A]
00002394 5380 subq.l D0, 1
00002396 2D40 FDF4 move.l [A6 - 0x20C], D0
0000239A 206D F366 movea.l A0, [A5 - 0xC9A]
0000239E 202E FDF4 move.l D0, [A6 - 0x20C]
000023A2 722F moveq.l D1, 0x2F
000023A4 B230 0800 cmp.b D1, [A0 + D0]
000023A8 584F addq.w A7, 4
000023AA 6700 036C beq +0x36E /* 00002718 */
000023AE 486E FE04 pea.l [A6 - 0x1FC]
000023B2 206D F366 movea.l A0, [A5 - 0xC9A]
000023B6 2F08 move.l -[A7], A0
000023B8 4EBA 04E6 jsr [PC + 0x4E6 /* 000028A0 */]
000023BC 504F addq.w A7, 8
label000023BE:
000023BE 707A moveq.l D0, 0x7A
000023C0 2F00 move.l -[A7], D0
000023C2 7200 moveq.l D1, 0x00
000023C4 2F01 move.l -[A7], D1
000023C6 486E FF82 pea.l [A6 - 0x7E]
000023CA 4EAD 017A jsr [A5 + 0x17A]
000023CE 7000 moveq.l D0, 0x00
000023D0 2D40 FF8E move.l [A6 - 0x72], D0
000023D4 41EE FE04 lea.l A0, [A6 - 0x1FC]
000023D8 2D48 FF94 move.l [A6 - 0x6C], A0
000023DC 3D6D F1B8 FF98 move.w [A6 - 0x68], [A5 - 0xE48]
000023E2 422E FF9C clr.b [A6 - 0x64]
000023E6 2D40 FFB2 move.l [A6 - 0x4E], D0
000023EA 558F subq.l A7, 2
000023EC 486E FF82 pea.l [A6 - 0x7E]
000023F0 7000 moveq.l D0, 0x00
000023F2 1F00 move.b -[A7], D0
000023F4 4EBA 2FFE jsr [PC + 0x2FFE /* 000053F4 */]
000023F8 3D5F FE02 move.w [A6 - 0x1FE], [A7]+
000023FC 4FEF 000C lea.l A7, [A7 + 0xC]
00002400 670E beq +0x10 /* 00002410 */
00002402 70D0 moveq.l D0, 0xFFFFFFD0
00002404 B06E FE02 cmp.w D0, [A6 - 0x1FE]
00002408 663E bne +0x40 /* 00002448 */
0000240A 4A2D F476 tst.b [A5 - 0xB8A]
0000240E 6738 beq +0x3A /* 00002448 */
label00002410:
00002410 7000 moveq.l D0, 0x00
00002412 2D40 FF8E move.l [A6 - 0x72], D0
00002416 41EE FE04 lea.l A0, [A6 - 0x1FC]
0000241A 2D48 FF94 move.l [A6 - 0x6C], A0
0000241E 3D6D F1B8 FF98 move.w [A6 - 0x68], [A5 - 0xE48]
00002424 422E FF9C clr.b [A6 - 0x64]
00002428 2D40 FFB2 move.l [A6 - 0x4E], D0
0000242C 1D7C 0002 FF9D move.b [A6 - 0x63], 0x2
00002432 2D40 FF9E move.l [A6 - 0x62], D0
00002436 558F subq.l A7, 2
00002438 486E FF82 pea.l [A6 - 0x7E]
0000243C 7000 moveq.l D0, 0x00
0000243E 1F00 move.b -[A7], D0
00002440 4EBA 2F8E jsr [PC + 0x2F8E /* 000053D0 */]
00002444 3D5F FE02 move.w [A6 - 0x1FE], [A7]+
label00002448:
00002448 4A6E FE02 tst.w [A6 - 0x1FE]
0000244C 6756 beq +0x58 /* 000024A4 */
0000244E 70D0 moveq.l D0, 0xFFFFFFD0
00002450 B06E FE02 cmp.w D0, [A6 - 0x1FE]
00002454 661A bne +0x1C /* 00002470 */
00002456 202E FF04 move.l D0, [A6 - 0xFC]
0000245A 52AE FF04 addq.l [A6 - 0xFC], 1
0000245E 2F00 move.l -[A7], D0
00002460 486E FE04 pea.l [A6 - 0x1FC]
00002464 4EBA 04FE jsr [PC + 0x4FE /* 00002964 */]
00002468 4A00 tst.b D0
0000246A 504F addq.w A7, 8
0000246C 6600 FF50 bne -0xAE /* 000023BE */
label00002470:
00002470 486E FE04 pea.l [A6 - 0x1FC]
00002474 4EBA 0360 jsr [PC + 0x360 /* 000027D6 */]
00002478 4A80 tst.l D0
0000247A 584F addq.w A7, 4
0000247C 6600 FF40 bne -0xBE /* 000023BE */
00002480 486E FE04 pea.l [A6 - 0x1FC]
00002484 486D F246 pea.l [A5 - 0xDBA]
00002488 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000248C 4EBA FAF4 jsr [PC - 0x50C /* 00001F82 */]
00002490 2F2D F35E move.l -[A7], [A5 - 0xCA2]
00002494 4EBA 093A jsr [PC + 0x93A /* 00002DD0 */]
00002498 1D40 FDF9 move.b [A6 - 0x207], D0
0000249C 4FEF 0010 lea.l A7, [A7 + 0x10]
000024A0 6000 030A bra +0x30C /* 000027AC */
label000024A4:
000024A4 7000 moveq.l D0, 0x00
000024A6 2D40 FF9E move.l [A6 - 0x62], D0
000024AA 558F subq.l A7, 2
000024AC 486E FF82 pea.l [A6 - 0x7E]
000024B0 7000 moveq.l D0, 0x00
000024B2 1F00 move.b -[A7], D0
000024B4 4EBA 2CAC jsr [PC + 0x2CAC /* 00005162 */]
000024B8 3D5F FE02 move.w [A6 - 0x1FE], [A7]+
000024BC 671C beq +0x1E /* 000024DA */
000024BE 302E FE02 move.w D0, [A6 - 0x1FE]
000024C2 48C0 ext.l D0
000024C4 2F00 move.l -[A7], D0
000024C6 486E FE04 pea.l [A6 - 0x1FC]
000024CA 486D F25C pea.l [A5 - 0xDA4]
000024CE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000024D2 4EBA FA14 jsr [PC - 0x5EC /* 00001EE8 */]
000024D6 4FEF 0010 lea.l A7, [A7 + 0x10]
label000024DA:
000024DA 4A2D F462 tst.b [A5 - 0xB9E]
000024DE 6702 beq +0x4 /* 000024E2 */
000024E0 4205 clr.b D5
label000024E2:
000024E2 2D6D F35E FDFE move.l [A6 - 0x202], [A5 - 0xCA2]
000024E8 6000 011E bra +0x120 /* 00002608 */
label000024EC:
000024EC 4EBA DC74 jsr [PC - 0x238C /* 00000162 */]
000024F0 2D40 FDF0 move.l [A6 - 0x210], D0
000024F4 6606 bne +0x8 /* 000024FC */
000024F6 7001 moveq.l D0, 0x01
000024F8 6000 02C0 bra +0x2C2 /* 000027BA */
label000024FC:
000024FC 206E FDF0 movea.l A0, [A6 - 0x210]
00002500 2D48 FDEC move.l [A6 - 0x214], A0
00002504 4EBA DCE4 jsr [PC - 0x231C /* 000001EA */]
00002508 2040 movea.l A0, D0
0000250A 2808 move.l D4, A0
0000250C 98AE FDEC sub.l D4, [A6 - 0x214]
00002510 B8AE FDFE cmp.l D4, [A6 - 0x202]
00002514 6F04 ble +0x6 /* 0000251A */
00002516 282E FDFE move.l D4, [A6 - 0x202]
label0000251A:
0000251A 2C04 move.l D6, D4
0000251C 4A2D F461 tst.b [A5 - 0xB9F]
00002520 671A beq +0x1C /* 0000253C */
00002522 2E06 move.l D7, D6
00002524 286E FDEC movea.l A4, [A6 - 0x214]
00002528 600C bra +0xE /* 00002536 */
label0000252A:
0000252A 700A moveq.l D0, 0x0A
0000252C B014 cmp.b D0, [A4]
0000252E 6604 bne +0x6 /* 00002534 */
00002530 18BC 000D move.b [A4], 0xD /* '\r' */
label00002534:
00002534 524C addq.w A4, 1
label00002536:
00002536 5387 subq.l D7, 1
00002538 6CF0 bge -0xE /* 0000252A */
0000253A 6038 bra +0x3A /* 00002574 */
label0000253C:
0000253C 4A2D F462 tst.b [A5 - 0xB9E]
00002540 6732 beq +0x34 /* 00002574 */
00002542 286E FDEC movea.l A4, [A6 - 0x214]
00002546 264C movea.l A3, A4
00002548 2E06 move.l D7, D6
0000254A 601E bra +0x20 /* 0000256A */
label0000254C:
0000254C 700A moveq.l D0, 0x0A
0000254E B013 cmp.b D0, [A3]
00002550 6604 bne +0x6 /* 00002556 */
00002552 4A05 tst.b D5
00002554 6602 bne +0x4 /* 00002558 */
label00002556:
00002556 18D3 move.b [A4]+, [A3]
label00002558:
00002558 700D moveq.l D0, 0x0D
0000255A B01B cmp.b D0, [A3]+
0000255C 57C0 seq D0
0000255E 0240 0001 andi.w D0, 0x1
00002562 48C0 ext.l D0
00002564 1A00 move.b D5, D0
00002566 2007 move.l D0, D7
00002568 5387 subq.l D7, 1
label0000256A:
0000256A 4A87 tst.l D7
0000256C 6EDE bgt -0x20 /* 0000254C */
0000256E 200B move.l D0, A3
00002570 908C sub.l D0, A4
00002572 9C80 sub.l D6, D0
label00002574:
00002574 2D46 FDFA move.l [A6 - 0x206], D6
00002578 2D6E FDEC FFA2 move.l [A6 - 0x5E], [A6 - 0x214]
0000257E 2D6E FDFA FFA6 move.l [A6 - 0x5A], [A6 - 0x206]
00002584 426E FFAE clr.w [A6 - 0x52]
00002588 7000 moveq.l D0, 0x00
0000258A 2D40 FFB0 move.l [A6 - 0x50], D0
0000258E 558F subq.l A7, 2
00002590 486E FF82 pea.l [A6 - 0x7E]
00002594 7000 moveq.l D0, 0x00
00002596 1F00 move.b -[A7], D0
00002598 4EBA 2B80 jsr [PC + 0x2B80 /* 0000511A */]
0000259C 3D5F FE02 move.w [A6 - 0x1FE], [A7]+
000025A0 671E beq +0x20 /* 000025C0 */
000025A2 302E FE02 move.w D0, [A6 - 0x1FE]
000025A6 48C0 ext.l D0
000025A8 2F00 move.l -[A7], D0
000025AA 486E FE04 pea.l [A6 - 0x1FC]
000025AE 486D F266 pea.l [A5 - 0xD9A]
000025B2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000025B6 4EBA F930 jsr [PC - 0x6D0 /* 00001EE8 */]
000025BA 4FEF 0010 lea.l A7, [A7 + 0x10]
000025BE 6030 bra +0x32 /* 000025F0 */
label000025C0:
000025C0 2D6E FFAA FDFA move.l [A6 - 0x206], [A6 - 0x56]
000025C6 2004 move.l D0, D4
000025C8 D0AE FDEC add.l D0, [A6 - 0x214]
000025CC 5380 subq.l D0, 1
000025CE 2F00 move.l -[A7], D0
000025D0 4EBA DBCA jsr [PC - 0x2436 /* 0000019C */]
000025D4 BCAE FDFA cmp.l D6, [A6 - 0x206]
000025D8 584F addq.w A7, 4
000025DA 6728 beq +0x2A /* 00002604 */
000025DC 486E FE04 pea.l [A6 - 0x1FC]
000025E0 486D F270 pea.l [A5 - 0xD90]
000025E4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000025E8 4EBA F998 jsr [PC - 0x668 /* 00001F82 */]
000025EC 4FEF 000C lea.l A7, [A7 + 0xC]
label000025F0:
000025F0 202E FDFE move.l D0, [A6 - 0x202]
000025F4 9084 sub.l D0, D4
000025F6 2F00 move.l -[A7], D0
000025F8 4EBA 07D6 jsr [PC + 0x7D6 /* 00002DD0 */]
000025FC 1D40 FDF9 move.b [A6 - 0x207], D0
00002600 584F addq.w A7, 4
00002602 600C bra +0xE /* 00002610 */
label00002604:
00002604 99AE FDFE sub.l [A6 - 0x202], D4
label00002608:
00002608 4AAE FDFE tst.l [A6 - 0x202]
0000260C 6E00 FEDE bgt -0x120 /* 000024EC */
label00002610:
00002610 558F subq.l A7, 2
00002612 486E FF82 pea.l [A6 - 0x7E]
00002616 7000 moveq.l D0, 0x00
00002618 1F00 move.b -[A7], D0
0000261A 4EBA 2ADA jsr [PC + 0x2ADA /* 000050F6 */]
0000261E 7000 moveq.l D0, 0x00
00002620 2D40 FF8E move.l [A6 - 0x72], D0
00002624 41EE FE04 lea.l A0, [A6 - 0x1FC]
00002628 2D48 FF94 move.l [A6 - 0x6C], A0
0000262C 3D6D F1B8 FF98 move.w [A6 - 0x68], [A5 - 0xE48]
00002632 2D40 FFB2 move.l [A6 - 0x4E], D0
00002636 422E FF9C clr.b [A6 - 0x64]
0000263A 426E FF9E clr.w [A6 - 0x62]
0000263E 558F subq.l A7, 2
00002640 486E FF82 pea.l [A6 - 0x7E]
00002644 7000 moveq.l D0, 0x00
00002646 1F00 move.b -[A7], D0
00002648 4EBA 2DCE jsr [PC + 0x2DCE /* 00005418 */]
0000264C 4A5F tst.w [A7]+
0000264E 544F addq.w A7, 2
00002650 6720 beq +0x22 /* 00002672 */
00002652 302E FF92 move.w D0, [A6 - 0x6E]
00002656 48C0 ext.l D0
00002658 2F00 move.l -[A7], D0
0000265A 486E FE04 pea.l [A6 - 0x1FC]
0000265E 486D F27E pea.l [A5 - 0xD82]
00002662 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002666 4EBA F880 jsr [PC - 0x780 /* 00001EE8 */]
0000266A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000266E 6000 013C bra +0x13E /* 000027AC */
label00002672:
00002672 7004 moveq.l D0, 0x04
00002674 2F00 move.l -[A7], D0
00002676 486D F46E pea.l [A5 - 0xB92]
0000267A 486E FFA6 pea.l [A6 - 0x5A]
0000267E 4EAD 0172 jsr [A5 + 0x172]
00002682 7004 moveq.l D0, 0x04
00002684 2F00 move.l -[A7], D0
00002686 486D F472 pea.l [A5 - 0xB8E]
0000268A 486E FFA2 pea.l [A6 - 0x5E]
0000268E 4EAD 0172 jsr [A5 + 0x172]
00002692 7000 moveq.l D0, 0x00
00002694 2D40 FF8E move.l [A6 - 0x72], D0
00002698 41EE FE04 lea.l A0, [A6 - 0x1FC]
0000269C 2D48 FF94 move.l [A6 - 0x6C], A0
000026A0 3D6D F1B8 FF98 move.w [A6 - 0x68], [A5 - 0xE48]
000026A6 2D40 FFB2 move.l [A6 - 0x4E], D0
000026AA 422E FF9C clr.b [A6 - 0x64]
000026AE 222D F362 move.l D1, [A5 - 0xC9E]
000026B2 D2BC 7C25 B080 add.l D1, 0x7C25B080
000026B8 2D41 FFCE move.l [A6 - 0x32], D1
000026BC 558F subq.l A7, 2
000026BE 486E FF82 pea.l [A6 - 0x7E]
000026C2 7000 moveq.l D0, 0x00
000026C4 1F00 move.b -[A7], D0
000026C6 4EBA 2D62 jsr [PC + 0x2D62 /* 0000542A */]
000026CA 4A5F tst.w [A7]+
000026CC 4FEF 0018 lea.l A7, [A7 + 0x18]
000026D0 6700 00DA beq +0xDC /* 000027AC */
000026D4 302E FF92 move.w D0, [A6 - 0x6E]
000026D8 48C0 ext.l D0
000026DA 2F00 move.l -[A7], D0
000026DC 486E FE04 pea.l [A6 - 0x1FC]
000026E0 486D F28C pea.l [A5 - 0xD74]
000026E4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000026E8 4EBA F7FE jsr [PC - 0x802 /* 00001EE8 */]
000026EC 4FEF 0010 lea.l A7, [A7 + 0x10]
000026F0 6000 00BA bra +0xBC /* 000027AC */
label000026F4:
000026F4 206D F366 movea.l A0, [A5 - 0xC9A]
000026F8 2F08 move.l -[A7], A0
000026FA 4EAD 018A jsr [A5 + 0x18A]
000026FE 5380 subq.l D0, 1
00002700 2D40 FDF4 move.l [A6 - 0x20C], D0
00002704 584F addq.w A7, 4
00002706 6010 bra +0x12 /* 00002718 */
label00002708:
00002708 202E FDF4 move.l D0, [A6 - 0x20C]
0000270C 53AE FDF4 subq.l [A6 - 0x20C], 1
00002710 206D F366 movea.l A0, [A5 - 0xC9A]
00002714 4230 0800 clr.b [A0 + D0]
label00002718:
00002718 4AAE FDF4 tst.l [A6 - 0x20C]
0000271C 6710 beq +0x12 /* 0000272E */
0000271E 206D F366 movea.l A0, [A5 - 0xC9A]
00002722 202E FDF4 move.l D0, [A6 - 0x20C]
00002726 722F moveq.l D1, 0x2F
00002728 B230 0800 cmp.b D1, [A0 + D0]
0000272C 67DA beq -0x24 /* 00002708 */
label0000272E:
0000272E 486E FE04 pea.l [A6 - 0x1FC]
00002732 206D F366 movea.l A0, [A5 - 0xC9A]
00002736 2F08 move.l -[A7], A0
00002738 4EBA 0166 jsr [PC + 0x166 /* 000028A0 */]
0000273C 504F addq.w A7, 8
label0000273E:
0000273E 707A moveq.l D0, 0x7A
00002740 2F00 move.l -[A7], D0
00002742 7200 moveq.l D1, 0x00
00002744 2F01 move.l -[A7], D1
00002746 486E FF08 pea.l [A6 - 0xF8]
0000274A 4EAD 017A jsr [A5 + 0x17A]
0000274E 7000 moveq.l D0, 0x00
00002750 2D40 FF14 move.l [A6 - 0xEC], D0
00002754 41EE FE04 lea.l A0, [A6 - 0x1FC]
00002758 2D48 FF1A move.l [A6 - 0xE6], A0
0000275C 3D6D F1B8 FF1E move.w [A6 - 0xE2], [A5 - 0xE48]
00002762 422E FF22 clr.b [A6 - 0xDE]
00002766 2D40 FF38 move.l [A6 - 0xC8], D0
0000276A 558F subq.l A7, 2
0000276C 486E FF08 pea.l [A6 - 0xF8]
00002770 7000 moveq.l D0, 0x00
00002772 1F00 move.b -[A7], D0
00002774 4EBA 2C06 jsr [PC + 0x2C06 /* 0000537C */]
00002778 3D5F FE02 move.w [A6 - 0x1FE], [A7]+
0000277C 4FEF 000C lea.l A7, [A7 + 0xC]
00002780 672A beq +0x2C /* 000027AC */
00002782 70D0 moveq.l D0, 0xFFFFFFD0
00002784 B06E FE02 cmp.w D0, [A6 - 0x1FE]
00002788 6722 beq +0x24 /* 000027AC */
0000278A 486E FE04 pea.l [A6 - 0x1FC]
0000278E 4EBA 0046 jsr [PC + 0x46 /* 000027D6 */]
00002792 4A80 tst.l D0
00002794 584F addq.w A7, 4
00002796 66A6 bne -0x58 /* 0000273E */
00002798 486E FE04 pea.l [A6 - 0x1FC]
0000279C 486D F29A pea.l [A5 - 0xD66]
000027A0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000027A4 4EBA F7DC jsr [PC - 0x824 /* 00001F82 */]
000027A8 4FEF 000C lea.l A7, [A7 + 0xC]
label000027AC:
000027AC 7000 moveq.l D0, 0x00
000027AE 2F00 move.l -[A7], D0
000027B0 4EBA DD9C jsr [PC - 0x2264 /* 0000054E */]
000027B4 102E FDF9 move.b D0, [A6 - 0x207]
000027B8 584F addq.w A7, 4
label000027BA:
000027BA 4CEE 18F0 FDD4 movem.l A4,A3,D7,D6,D5,D4, [A6 - 0x22C]
000027C0 4E5E unlink A6
000027C2 4E75 rts
000027C4 8E45 or.w D7, D5
000027C6 7874 moveq.l D4, 0x74
000027C8 7261 moveq.l D1, 0x61
000027CA 6374 bls +0x76 /* 00002840 */
000027CC 4172 6368 6976 chk.w D0, [A2 + 0x6976]
000027D2 6500 0000 bcs +0x2 /* 000027D4 */
// begin alternate branch 000027D4-000027DA
label000027D4:
000027D4 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000027D6: // (misaligned)
000027D8 FF86 .extension 0xF86 // unimplemented
// end alternate branch 000027D4-000027DA
label000027D4: // (misaligned)
fn000027D6:
000027D6 4E56 FF86 link A6, -0x007A
000027DA 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000027DE 286E 0008 movea.l A4, [A6 + 0x8]
000027E2 7800 moveq.l D4, 0x00
000027E4 1014 move.b D0, [A4]
000027E6 4880 ext.w D0
000027E8 323C 00FF move.w D1, 0xFF
000027EC C200 and.b D1, D0
000027EE 7C00 moveq.l D6, 0x00
000027F0 1C01 move.b D6, D1
000027F2 7E02 moveq.l D7, 0x02
000027F4 6000 008A bra +0x8C /* 00002880 */
label000027F8:
000027F8 2007 move.l D0, D7
000027FA 5287 addq.l D7, 1
label000027FC:
000027FC BC87 cmp.l D6, D7
000027FE 6F08 ble +0xA /* 00002808 */
00002800 703A moveq.l D0, 0x3A
00002802 B034 7800 cmp.b D0, [A4 + D7]
00002806 66F0 bne -0xE /* 000027F8 */
label00002808:
00002808 BC87 cmp.l D6, D7
0000280A 677A beq +0x7C /* 00002886 */
0000280C 2007 move.l D0, D7
0000280E 5287 addq.l D7, 1
00002810 5300 subq.b D0, 1
00002812 1880 move.b [A4], D0
00002814 707A moveq.l D0, 0x7A
00002816 2F00 move.l -[A7], D0
00002818 7200 moveq.l D1, 0x00
0000281A 2F01 move.l -[A7], D1
0000281C 486E FF86 pea.l [A6 - 0x7A]
00002820 4EAD 017A jsr [A5 + 0x17A]
00002824 7000 moveq.l D0, 0x00
00002826 2D40 FF92 move.l [A6 - 0x6E], D0
0000282A 2D4C FF98 move.l [A6 - 0x68], A4
0000282E 3D6D F1B8 FF9C move.w [A6 - 0x64], [A5 - 0xE48]
00002834 422E FFA0 clr.b [A6 - 0x60]
00002838 2D40 FFB6 move.l [A6 - 0x4A], D0
0000283C 558F subq.l A7, 2
0000283E 486E FF86 pea.l [A6 - 0x7A]
// begin alternate branch 00002840-00002842
label00002840:
00002840 FF86 .extension 0xF86 // unimplemented
// end alternate branch 00002840-00002842
label00002840: // (misaligned)
00002842 7000 moveq.l D0, 0x00
00002844 1F00 move.b -[A7], D0
00002846 4EBA 2B34 jsr [PC + 0x2B34 /* 0000537C */]
0000284A 3A1F move.w D5, [A7]+
0000284C 0C45 FFD0 cmpi.w D5, 0xFFD0
00002850 4FEF 000C lea.l A7, [A7 + 0xC]
00002854 6726 beq +0x28 /* 0000287C */
00002856 4A45 tst.w D5
00002858 671E beq +0x20 /* 00002878 */
0000285A 302E FF96 move.w D0, [A6 - 0x6A]
0000285E 48C0 ext.l D0
00002860 2F00 move.l -[A7], D0
00002862 2F0C move.l -[A7], A4
00002864 486D F2B4 pea.l [A5 - 0xD4C]
00002868 486D F2C2 pea.l [A5 - 0xD3E]
0000286C 4EBA F67A jsr [PC - 0x986 /* 00001EE8 */]
00002870 7000 moveq.l D0, 0x00
00002872 4FEF 0010 lea.l A7, [A7 + 0x10]
00002876 6012 bra +0x14 /* 0000288A */
label00002878:
00002878 2004 move.l D0, D4
0000287A 5284 addq.l D4, 1
label0000287C:
0000287C 2007 move.l D0, D7
0000287E 5287 addq.l D7, 1
label00002880:
00002880 BC87 cmp.l D6, D7
00002882 6E00 FF78 bgt -0x86 /* 000027FC */
label00002886:
00002886 1886 move.b [A4], D6
00002888 2004 move.l D0, D4
label0000288A:
0000288A 4CEE 10F0 FF72 movem.l A4,D7,D6,D5,D4, [A6 - 0x8E]
00002890 4E5E unlink A6
00002892 4E75 rts
00002894 884D or.w D4, A5
00002896 616B bsr +0x6D /* 00002903 */
00002898 6544 bcs +0x46 /* 000028DE */
0000289A 6972 bvs +0x74 /* 0000290E */
0000289C 7300 moveq.l D1, 0x00
0000289E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000028A0-000028A4
fn000028A0:
000028A0 4E56 FFF8 link A6, -0x0008
// end alternate branch 000028A0-000028A4
fn000028A0: // (misaligned)
000028A2 FFF8 .extension 0xFF8 // unimplemented
000028A4 48E7 0018 movem.l -[A7], A3,A4
000028A8 266E 0008 movea.l A3, [A6 + 0x8]
000028AC 2F0B move.l -[A7], A3
000028AE 4EAD 018A jsr [A5 + 0x18A]
000028B2 D08B add.l D0, A3
000028B4 2D40 FFF8 move.l [A6 - 0x8], D0
000028B8 202E 000C move.l D0, [A6 + 0xC]
000028BC 5280 addq.l D0, 1
000028BE 2D40 FFFC move.l [A6 - 0x4], D0
000028C2 284B movea.l A4, A3
000028C4 584F addq.w A7, 4
000028C6 6072 bra +0x74 /* 0000293A */
label000028C8:
000028C8 524C addq.w A4, 1
label000028CA:
000028CA 4A14 tst.b [A4]
000028CC 6706 beq +0x8 /* 000028D4 */
000028CE 702F moveq.l D0, 0x2F
000028D0 B014 cmp.b D0, [A4]
000028D2 67F4 beq -0xA /* 000028C8 */
label000028D4:
000028D4 264C movea.l A3, A4
000028D6 6002 bra +0x4 /* 000028DA */
label000028D8:
000028D8 524C addq.w A4, 1
label000028DA:
000028DA 4A14 tst.b [A4]
000028DC 6706 beq +0x8 /* 000028E4 */
label000028DE:
000028DE 702F moveq.l D0, 0x2F
000028E0 B014 cmp.b D0, [A4]
000028E2 66F4 bne -0xA /* 000028D8 */
label000028E4:
000028E4 4214 clr.b [A4]
000028E6 202E FFFC move.l D0, [A6 - 0x4]
000028EA 52AE FFFC addq.l [A6 - 0x4], 1
000028EE 2040 movea.l A0, D0
000028F0 10BC 003A move.b [A0], 0x3A /* ':' */
000028F4 702E moveq.l D0, 0x2E
000028F6 B013 cmp.b D0, [A3]
000028F8 663A bne +0x3C /* 00002934 */
000028FA 102B 0001 move.b D0, [A3 + 0x1]
000028FE 6708 beq +0xA /* 00002908 */
00002900 0400 002E subi.b D0, 0x2E /* '.' */
fn00002903: // (misaligned)
00002904 670C beq +0xE /* 00002912 */
00002906 6010 bra +0x12 /* 00002918 */
label00002908:
00002908 202E FFFC move.l D0, [A6 - 0x4]
0000290C 53AE FFFC subq.l [A6 - 0x4], 1
// begin alternate branch 0000290E-00002910
label0000290E:
0000290E FFFC .extension 0xFFC // unimplemented
// end alternate branch 0000290E-00002910
label0000290E: // (misaligned)
00002910 6026 bra +0x28 /* 00002938 */
label00002912:
00002912 4A2B 0002 tst.b [A3 + 0x2]
00002916 6720 beq +0x22 /* 00002938 */
label00002918:
00002918 16BC 005F move.b [A3], 0x5F /* '_' */
0000291C 6016 bra +0x18 /* 00002934 */
label0000291E:
0000291E 703A moveq.l D0, 0x3A
00002920 B013 cmp.b D0, [A3]
00002922 6604 bne +0x6 /* 00002928 */
00002924 16BC 002F move.b [A3], 0x2F /* '/' */
label00002928:
00002928 202E FFFC move.l D0, [A6 - 0x4]
0000292C 52AE FFFC addq.l [A6 - 0x4], 1
00002930 2040 movea.l A0, D0
00002932 109B move.b [A0], [A3]+
label00002934:
00002934 B9CB cmpa.l A4, A3
00002936 62E6 bhi -0x18 /* 0000291E */
label00002938:
00002938 524C addq.w A4, 1
label0000293A:
0000293A B7EE FFF8 cmpa.l A3, [A6 - 0x8]
0000293E 658A bcs -0x74 /* 000028CA */
00002940 302E FFFE move.w D0, [A6 - 0x2]
00002944 906E 000E sub.w D0, [A6 + 0xE]
00002948 5300 subq.b D0, 1
0000294A 206E 000C movea.l A0, [A6 + 0xC]
0000294E 1080 move.b [A0], D0
00002950 4CEE 1800 FFF0 movem.l A4,A3, [A6 - 0x10]
00002956 4E5E unlink A6
00002958 4E75 rts
0000295A 8746 6978 pack D3, D6, 0x6978
0000295E 4E61 move USP, A1
00002960 6D65 blt +0x67 /* 000029C7 */
00002962 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002964-0000296C
fn00002964:
00002964 4E56 0000 link A6, 0
00002968 48E7 0308 movem.l -[A7], D6,D7,A4
// end alternate branch 00002964-0000296C
fn00002964: // (misaligned)
00002966 0000 48E7 ori.b D0, 0xE7
0000296A 0308 btst A0, D1
0000296C 2C2E 000C move.l D6, [A6 + 0xC]
00002970 286E 0008 movea.l A4, [A6 + 0x8]
00002974 7E00 moveq.l D7, 0x00
00002976 1E14 move.b D7, [A4]
00002978 0C87 0000 00FD cmpi.l D7, 0xFD
0000297E 6C06 bge +0x8 /* 00002986 */
00002980 701A moveq.l D0, 0x1A
00002982 B086 cmp.l D0, D6
00002984 6E04 bgt +0x6 /* 0000298A */
label00002986:
00002986 7000 moveq.l D0, 0x00
00002988 6026 bra +0x28 /* 000029B0 */
label0000298A:
0000298A 4A86 tst.l D6
0000298C 6618 bne +0x1A /* 000029A6 */
0000298E 5414 addq.b [A4], 2
00002990 2007 move.l D0, D7
00002992 5280 addq.l D0, 1
00002994 19BC 002D 0800 move.b [A4 + D0], 0x2D /* '-' */
0000299A 2007 move.l D0, D7
0000299C 5480 addq.l D0, 2
0000299E 19BC 0041 0800 move.b [A4 + D0], 0x41 /* 'A' */
000029A4 6008 bra +0xA /* 000029AE */
label000029A6:
000029A6 1034 7800 move.b D0, [A4 + D7]
000029AA 5234 7800 addq.b [A4 + D7], 1
label000029AE:
000029AE 7001 moveq.l D0, 0x01
label000029B0:
000029B0 4CEE 10C0 FFF4 movem.l A4,D7,D6, [A6 - 0xC]
000029B6 4E5E unlink A6
000029B8 4E75 rts
000029BA 874E 6577 pack -[A3], -[A6], 0x6577
000029BE 4E61 move USP, A1
000029C0 6D65 blt +0x67 /* 00002A27 */
000029C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000029C4-000029CA
fn000029C4:
000029C4 4E56 0000 link A6, 0
label000029C7: // (misaligned)
000029C8 2F07 move.l -[A7], D7
// end alternate branch 000029C4-000029CA
fn000029C4: // (misaligned)
000029C6 0000 2F07 ori.b D0, 0x7
label000029C7: // (misaligned)
000029CA 1E2D F460 move.b D7, [A5 - 0xBA0]
000029CE 7001 moveq.l D0, 0x01
000029D0 2F00 move.l -[A7], D0
000029D2 486D F2CC pea.l [A5 - 0xD34]
000029D6 4EBA D82A jsr [PC - 0x27D6 /* 00000202 */]
000029DA 4A00 tst.b D0
000029DC 504F addq.w A7, 8
000029DE 663E bne +0x40 /* 00002A1E */
000029E0 4EBA 1A34 jsr [PC + 0x1A34 /* 00004416 */]
000029E4 4A00 tst.b D0
000029E6 6636 bne +0x38 /* 00002A1E */
000029E8 1B7C 0001 F460 move.b [A5 - 0xBA0], 0x1
000029EE 7004 moveq.l D0, 0x04
000029F0 3F00 move.w -[A7], D0
000029F2 A888 trap TextFace
000029F4 486D EAFC pea.l [A5 - 0x1504]
000029F8 4EBA 1D96 jsr [PC + 0x1D96 /* 00004790 */]
000029FC 7000 moveq.l D0, 0x00
000029FE 3F00 move.w -[A7], D0
00002A00 A888 trap TextFace
00002A02 486D 0062 pea.l [A5 + 0x62]
00002A06 4EBA 0026 jsr [PC + 0x26 /* 00002A2E */]
00002A0A 4EBA DEDA jsr [PC - 0x2126 /* 000008E6 */]
00002A0E 7001 moveq.l D0, 0x01
00002A10 2F00 move.l -[A7], D0
00002A12 4EBA 1C62 jsr [PC + 0x1C62 /* 00004676 */]
00002A16 1B47 F460 move.b [A5 - 0xBA0], D7
00002A1A 4FEF 000C lea.l A7, [A7 + 0xC]
label00002A1E:
00002A1E 2E2E FFFC move.l D7, [A6 - 0x4]
00002A22 4E5E unlink A6
00002A24 4E75 rts
00002A26 844C or.w D2, A4
label00002A27: // (misaligned)
00002A28 6973 bvs +0x75 /* 00002A9D */
00002A2A 7400 moveq.l D2, 0x00
00002A2C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002A2E-00002A32
fn00002A2E:
00002A2E 4E56 FFF0 link A6, -0x0010
// end alternate branch 00002A2E-00002A32
fn00002A2E: // (misaligned)
00002A30 FFF0 .extension 0xFF0 // unimplemented
00002A32 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002A36 286E 0008 movea.l A4, [A6 + 0x8]
00002A3A 7E01 moveq.l D7, 0x01
00002A3C 4206 clr.b D6
00002A3E 598F subq.l A7, 4
00002A40 7004 moveq.l D0, 0x04
00002A42 3F00 move.w -[A7], D0
00002A44 A9B9 trap GetCursor
00002A46 265F movea.l A3, [A7]+
00002A48 200B move.l D0, A3
00002A4A 6700 009C beq +0x9E /* 00002AE8 */
00002A4E 2F13 move.l -[A7], [A3]
00002A50 A851 trap SetCursor
00002A52 6000 0094 bra +0x96 /* 00002AE8 */
label00002A56:
00002A56 558F subq.l A7, 2
00002A58 7008 moveq.l D0, 0x08
00002A5A 3F00 move.w -[A7], D0
00002A5C 486E FFF0 pea.l [A6 - 0x10]
00002A60 A971 trap EventAvail
00002A62 4A1F tst.b [A7]+
00002A64 6736 beq +0x38 /* 00002A9C */
00002A66 4A6E FFF0 tst.w [A6 - 0x10]
00002A6A 6730 beq +0x32 /* 00002A9C */
00002A6C 303C 0100 move.w D0, 0x100
00002A70 C06E FFFE and.w D0, [A6 - 0x2]
00002A74 6726 beq +0x28 /* 00002A9C */
00002A76 203C 0000 00FF move.l D0, 0xFF
00002A7C C0AE FFF2 and.l D0, [A6 - 0xE]
00002A80 722E moveq.l D1, 0x2E
00002A82 B280 cmp.l D1, D0
00002A84 6616 bne +0x18 /* 00002A9C */
00002A86 558F subq.l A7, 2
00002A88 7008 moveq.l D0, 0x08
00002A8A 3F00 move.w -[A7], D0
00002A8C 486E FFF0 pea.l [A6 - 0x10]
00002A90 7200 moveq.l D1, 0x00
00002A92 2F01 move.l -[A7], D1
00002A94 2F01 move.l -[A7], D1
00002A96 A860 trap WaitNextEvent
00002A98 544F addq.w A7, 2
00002A9A 6052 bra +0x54 /* 00002AEE */
label00002A9C:
00002A9C 2A07 move.l D5, D7
label00002A9D: // (misaligned)
00002A9E 4EBA 00B6 jsr [PC + 0xB6 /* 00002B56 */]
00002AA2 2E00 move.l D7, D0
00002AA4 5280 addq.l D0, 1
00002AA6 6746 beq +0x48 /* 00002AEE */
00002AA8 5380 subq.l D0, 1
00002AAA 6718 beq +0x1A /* 00002AC4 */
00002AAC 5380 subq.l D0, 1
00002AAE 6706 beq +0x8 /* 00002AB6 */
00002AB0 5380 subq.l D0, 1
00002AB2 673A beq +0x3C /* 00002AEE */
00002AB4 6038 bra +0x3A /* 00002AEE */
label00002AB6:
00002AB6 206D F366 movea.l A0, [A5 - 0xC9A]
00002ABA 4228 0063 clr.b [A0 + 0x63]
00002ABE 4E94 jsr [A4]
00002AC0 1C00 move.b D6, D0
00002AC2 6024 bra +0x26 /* 00002AE8 */
label00002AC4:
00002AC4 2F2D F366 move.l -[A7], [A5 - 0xC9A]
00002AC8 4EBA D6D2 jsr [PC - 0x292E /* 0000019C */]
00002ACC 7001 moveq.l D0, 0x01
00002ACE B085 cmp.l D0, D5
00002AD0 584F addq.w A7, 4
00002AD2 6614 bne +0x16 /* 00002AE8 */
00002AD4 7000 moveq.l D0, 0x00
00002AD6 2F00 move.l -[A7], D0
00002AD8 486D F2DC pea.l [A5 - 0xD24]
00002ADC 486D F2FE pea.l [A5 - 0xD02]
00002AE0 4EBA F4A0 jsr [PC - 0xB60 /* 00001F82 */]
00002AE4 4FEF 000C lea.l A7, [A7 + 0xC]
label00002AE8:
00002AE8 4A06 tst.b D6
00002AEA 6700 FF6A beq -0x94 /* 00002A56 */
label00002AEE:
00002AEE 486D FCF8 pea.l [A5 - 0x308]
00002AF2 A851 trap SetCursor
00002AF4 4CEE 18E0 FFDC movem.l A4,A3,D7,D6,D5, [A6 - 0x24]
00002AFA 4E5E unlink A6
00002AFC 4E75 rts
00002AFE 8752 or.w [A2], D3
00002B00 6561 bcs +0x63 /* 00002B63 */
00002B02 6441 bcc +0x43 /* 00002B45 */
00002B04 6E64 bgt +0x66 /* 00002B6A */
00002B06 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_8: // at 00002B08 (misaligned)
00002B0A FFFC .extension 0xFFC // unimplemented
00002B0C 486D F366 pea.l [A5 - 0xC9A]
00002B10 4EBA DA3C jsr [PC - 0x25C4 /* 0000054E */]
00002B14 4EBA 018C jsr [PC + 0x18C /* 00002CA2 */]
00002B18 4A2D F460 tst.b [A5 - 0xBA0]
00002B1C 584F addq.w A7, 4
00002B1E 660C bne +0xE /* 00002B2C */
00002B20 307C 003C movea.w A0, 0x3C /* '<' */
00002B24 43EE FFFC lea.l A1, [A6 - 0x4]
00002B28 A03B trap Delay
00002B2A 2280 move.l [A1], D0
label00002B2C:
00002B2C 7000 moveq.l D0, 0x00
00002B2E 2F00 move.l -[A7], D0
00002B30 4EBA DA1C jsr [PC - 0x25E4 /* 0000054E */]
00002B34 2F2D F366 move.l -[A7], [A5 - 0xC9A]
00002B38 4EBA D662 jsr [PC - 0x299E /* 0000019C */]
00002B3C 2F2D F35E move.l -[A7], [A5 - 0xCA2]
00002B40 4EBA 028E jsr [PC + 0x28E /* 00002DD0 */]
00002B44 4E5E unlink A6
label00002B45: // (misaligned)
00002B46 4E75 rts
00002B48 8B4C 6973 pack -[A5], -[A4], 0x6973
00002B4C 7441 moveq.l D2, 0x41
00002B4E 7263 moveq.l D1, 0x63
00002B50 6869 bvc +0x6B /* 00002BBB */
00002B52 7665 moveq.l D3, 0x65
00002B54 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002B56-00002B5E
fn00002B56:
00002B56 4E56 0000 link A6, 0
00002B5A 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
// end alternate branch 00002B56-00002B5E
fn00002B56: // (misaligned)
00002B58 0000 48E7 ori.b D0, 0xE7
00002B5C 0718 btst [A0]+, D3
00002B5E 4EBA D602 jsr [PC - 0x29FE /* 00000162 */]
00002B62 2840 movea.l A4, D0
label00002B63: // (misaligned)
00002B64 2B4C F366 move.l [A5 - 0xC9A], A4
00002B68 200C move.l D0, A4
label00002B6A:
00002B6A 6604 bne +0x6 /* 00002B70 */
00002B6C 70FF moveq.l D0, 0xFFFFFFFF
00002B6E 6078 bra +0x7A /* 00002BE8 */
label00002B70:
00002B70 486C 0094 pea.l [A4 + 0x94]
00002B74 7008 moveq.l D0, 0x08
00002B76 2F00 move.l -[A7], D0
00002B78 4EBA 00B6 jsr [PC + 0xB6 /* 00002C30 */]
00002B7C 2A00 move.l D5, D0
00002B7E 7C00 moveq.l D6, 0x00
00002B80 47D4 lea.l A3, [A4]
00002B82 2E3C 0000 0200 move.l D7, 0x200
00002B88 504F addq.w A7, 8
00002B8A 600E bra +0x10 /* 00002B9A */
label00002B8C:
00002B8C 101B move.b D0, [A3]+
00002B8E 4880 ext.w D0
00002B90 C03C 00FF and.b D0, 0xFF
00002B94 7200 moveq.l D1, 0x00
00002B96 1200 move.b D1, D0
00002B98 DC81 add.l D6, D1
label00002B9A:
00002B9A 5387 subq.l D7, 1
00002B9C 6CEE bge -0x10 /* 00002B8C */
00002B9E 7E08 moveq.l D7, 0x08
00002BA0 6014 bra +0x16 /* 00002BB6 */
label00002BA2:
00002BA2 41EC 0094 lea.l A0, [A4 + 0x94]
00002BA6 1030 7800 move.b D0, [A0 + D7]
00002BAA 4880 ext.w D0
00002BAC C03C 00FF and.b D0, 0xFF
00002BB0 7200 moveq.l D1, 0x00
00002BB2 1200 move.b D1, D0
00002BB4 9C81 sub.l D6, D1
label00002BB6:
00002BB6 5387 subq.l D7, 1
00002BB8 6CE8 bge -0x16 /* 00002BA2 */
00002BBA 0686 0000 0100 addi.l D6, 0x100
label00002BBB: // (misaligned)
00002BC0 BA86 cmp.l D5, D6
00002BC2 6616 bne +0x18 /* 00002BDA */
00002BC4 486C 007C pea.l [A4 + 0x7C]
00002BC8 700D moveq.l D0, 0x0D
00002BCA 2F00 move.l -[A7], D0
00002BCC 4EBA 0062 jsr [PC + 0x62 /* 00002C30 */]
00002BD0 2B40 F35E move.l [A5 - 0xCA2], D0
00002BD4 7001 moveq.l D0, 0x01
00002BD6 504F addq.w A7, 8
00002BD8 600E bra +0x10 /* 00002BE8 */
label00002BDA:
00002BDA 0C86 0000 0100 cmpi.l D6, 0x100
00002BE0 6604 bne +0x6 /* 00002BE6 */
00002BE2 7002 moveq.l D0, 0x02
00002BE4 6002 bra +0x4 /* 00002BE8 */
label00002BE6:
00002BE6 7000 moveq.l D0, 0x00
label00002BE8:
00002BE8 4CEE 18E0 FFEC movem.l A4,A3,D7,D6,D5, [A6 - 0x14]
00002BEE 4E5E unlink A6
00002BF0 4E75 rts
00002BF2 8A52 or.w D5, [A2]
00002BF4 6561 bcs +0x63 /* 00002C57 */
00002BF6 6448 bcc +0x4A /* 00002C40 */
00002BF8 6561 bcs +0x63 /* 00002C5B */
00002BFA 6465 bcc +0x67 /* 00002C61 */
00002BFC 7200 moveq.l D1, 0x00
00002BFE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002C00-00002C10
fn00002C00:
00002C00 4E56 0000 link A6, 0
00002C04 206E 0008 movea.l A0, [A6 + 0x8]
00002C08 4868 0088 pea.l [A0 + 0x88]
00002C0C 700D moveq.l D0, 0x0D
00002C0E 2F00 move.l -[A7], D0
// end alternate branch 00002C00-00002C10
fn00002C00: // (misaligned)
00002C02 0000 206E ori.b D0, 0x6E /* 'n' */
00002C06 0008 4868 ori.b A0, 0x68 /* 'h' */
00002C0A 0088 700D 2F00 ori.l A0, 0x700D2F00 /* 'p\r/\0' */
00002C10 4EBA 001E jsr [PC + 0x1E /* 00002C30 */]
00002C14 206E 000C movea.l A0, [A6 + 0xC]
00002C18 2140 0004 move.l [A0 + 0x4], D0
00002C1C 4E5E unlink A6
00002C1E 4E75 rts
00002C20 8C44 or.w D6, D4
00002C22 6563 bcs +0x65 /* 00002C87 */
00002C24 6F64 ble +0x66 /* 00002C8A */
00002C26 6548 bcs +0x4A /* 00002C70 */
00002C28 6561 bcs +0x63 /* 00002C8B */
00002C2A 6465 bcc +0x67 /* 00002C91 */
00002C2C 7200 moveq.l D1, 0x00
00002C2E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002C30-00002C38
fn00002C30:
00002C30 4E56 0000 link A6, 0
00002C34 48E7 0308 movem.l -[A7], D6,D7,A4
// end alternate branch 00002C30-00002C38
fn00002C30: // (misaligned)
00002C32 0000 48E7 ori.b D0, 0xE7
00002C36 0308 btst A0, D1
00002C38 2E2E 0008 move.l D7, [A6 + 0x8]
00002C3C 286E 000C movea.l A4, [A6 + 0xC]
label00002C40:
00002C40 600A bra +0xC /* 00002C4C */
label00002C42:
00002C42 524C addq.w A4, 1
00002C44 5387 subq.l D7, 1
00002C46 6E04 bgt +0x6 /* 00002C4C */
00002C48 70FF moveq.l D0, 0xFFFFFFFF
00002C4A 6042 bra +0x44 /* 00002C8E */
label00002C4C:
00002C4C 7020 moveq.l D0, 0x20
00002C4E B014 cmp.b D0, [A4]
00002C50 67F0 beq -0xE /* 00002C42 */
00002C52 7C00 moveq.l D6, 0x00
00002C54 6014 bra +0x16 /* 00002C6A */
label00002C56:
00002C56 2006 move.l D0, D6
label00002C57: // (misaligned)
00002C58 E788 lsl D0, 3
00002C5A 121C move.b D1, [A4]+
label00002C5B: // (misaligned)
00002C5C 4881 ext.w D1
00002C5E 927C 0030 sub.w D1, 0x30 /* '0' */
label00002C61: // (misaligned)
00002C62 48C1 ext.l D1
00002C64 8280 or.l D1, D0
00002C66 2C01 move.l D6, D1
00002C68 5387 subq.l D7, 1
label00002C6A:
00002C6A 4A87 tst.l D7
00002C6C 6F0C ble +0xE /* 00002C7A */
00002C6E 7030 moveq.l D0, 0x30
label00002C70:
00002C70 B014 cmp.b D0, [A4]
00002C72 6E06 bgt +0x8 /* 00002C7A */
00002C74 7037 moveq.l D0, 0x37
00002C76 B014 cmp.b D0, [A4]
00002C78 6CDC bge -0x22 /* 00002C56 */
label00002C7A:
00002C7A 4A87 tst.l D7
00002C7C 6F0E ble +0x10 /* 00002C8C */
00002C7E 4A14 tst.b [A4]
00002C80 670A beq +0xC /* 00002C8C */
00002C82 7020 moveq.l D0, 0x20
00002C84 B014 cmp.b D0, [A4]
00002C86 6704 beq +0x6 /* 00002C8C */
label00002C87: // (misaligned)
00002C88 70FF moveq.l D0, 0xFFFFFFFF
label00002C8A:
00002C8A 6002 bra +0x4 /* 00002C8E */
label00002C8B: // (misaligned)
label00002C8C:
00002C8C 2006 move.l D0, D6
label00002C8E:
00002C8E 4CEE 10C0 FFF4 movem.l A4,D7,D6, [A6 - 0xC]
label00002C91: // (misaligned)
00002C94 4E5E unlink A6
00002C96 4E75 rts
00002C98 8746 726F pack D3, D6, 0x726F
00002C9C 6D4F blt +0x51 /* 00002CED */
00002C9E 6374 bls +0x76 /* 00002D14 */
00002CA0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002CA2-00002CA6
fn00002CA2:
00002CA2 4E56 FFF0 link A6, -0x0010
// end alternate branch 00002CA2-00002CA6
fn00002CA2: // (misaligned)
00002CA4 FFF0 .extension 0xFF0 // unimplemented
00002CA6 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002CAA 49EE FFF0 lea.l A4, [A6 - 0x10]
00002CAE 7000 moveq.l D0, 0x00
00002CB0 2F00 move.l -[A7], D0
00002CB2 486D F35E pea.l [A5 - 0xCA2]
00002CB6 2F2D F366 move.l -[A7], [A5 - 0xC9A]
00002CBA 4EBA FF44 jsr [PC - 0xBC /* 00002C00 */]
00002CBE 7E3F moveq.l D7, 0x3F
00002CC0 206D F366 movea.l A0, [A5 - 0xC9A]
00002CC4 1028 009C move.b D0, [A0 + 0x9C]
00002CC8 4FEF 000C lea.l A7, [A7 + 0xC]
00002CCC 670C beq +0xE /* 00002CDA */
00002CCE 0400 0030 subi.b D0, 0x30 /* '0' */
00002CD2 6706 beq +0x8 /* 00002CDA */
00002CD4 5B00 subq.b D0, 5
00002CD6 6722 beq +0x24 /* 00002CFA */
00002CD8 6022 bra +0x24 /* 00002CFC */
label00002CDA:
00002CDA 7E46 moveq.l D7, 0x46
00002CDC 206D F366 movea.l A0, [A5 - 0xC9A]
00002CE0 2F08 move.l -[A7], A0
00002CE2 4EAD 018A jsr [A5 + 0x18A]
00002CE6 5380 subq.l D0, 1
00002CE8 206D F366 movea.l A0, [A5 - 0xC9A]
00002CEC 722F moveq.l D1, 0x2F
label00002CED: // (misaligned)
00002CEE B230 0800 cmp.b D1, [A0 + D0]
00002CF2 584F addq.w A7, 4
00002CF4 6606 bne +0x8 /* 00002CFC */
00002CF6 7E44 moveq.l D7, 0x44
00002CF8 6002 bra +0x4 /* 00002CFC */
label00002CFA:
00002CFA 7E44 moveq.l D7, 0x44
label00002CFC:
00002CFC 202D F362 move.l D0, [A5 - 0xC9E]
00002D00 D0BC 7C25 B080 add.l D0, 0x7C25B080
00002D06 2D40 FFFC move.l [A6 - 0x4], D0
00002D0A 486E FFFC pea.l [A6 - 0x4]
00002D0E 4EAD 0162 jsr [A5 + 0x162]
00002D12 2640 movea.l A3, D0
label00002D14:
00002D14 422B 0010 clr.b [A3 + 0x10]
00002D18 422B 0018 clr.b [A3 + 0x18]
00002D1C 206D F366 movea.l A0, [A5 - 0xC9A]
00002D20 1028 009C move.b D0, [A0 + 0x9C]
00002D24 584F addq.w A7, 4
00002D26 6730 beq +0x32 /* 00002D58 */
00002D28 0400 0030 subi.b D0, 0x30 /* '0' */
00002D2C 672A beq +0x2C /* 00002D58 */
00002D2E 5B00 subq.b D0, 5
00002D30 670E beq +0x10 /* 00002D40 */
00002D32 486D F308 pea.l [A5 - 0xCF8]
00002D36 2F0C move.l -[A7], A4
00002D38 4EAD 01A2 jsr [A5 + 0x1A2]
00002D3C 504F addq.w A7, 8
00002D3E 602A bra +0x2C /* 00002D6A */
label00002D40:
00002D40 486D F30E pea.l [A5 - 0xCF2]
00002D44 7009 moveq.l D0, 0x09
00002D46 2F00 move.l -[A7], D0
00002D48 486D F310 pea.l [A5 - 0xCF0]
00002D4C 2F0C move.l -[A7], A4
00002D4E 4EAD 01A2 jsr [A5 + 0x1A2]
00002D52 4FEF 0010 lea.l A7, [A7 + 0x10]
00002D56 6012 bra +0x14 /* 00002D6A */
label00002D58:
00002D58 2F2D F35E move.l -[A7], [A5 - 0xCA2]
00002D5C 486D F316 pea.l [A5 - 0xCEA]
00002D60 2F0C move.l -[A7], A4
00002D62 4EAD 01A2 jsr [A5 + 0x1A2]
00002D66 4FEF 000C lea.l A7, [A7 + 0xC]
label00002D6A:
00002D6A 2F0C move.l -[A7], A4
00002D6C 4EAD 018A jsr [A5 + 0x18A]
00002D70 2C00 move.l D6, D0
00002D72 5286 addq.l D6, 1
00002D74 BCAD F35A cmp.l D6, [A5 - 0xCA6]
00002D78 584F addq.w A7, 4
00002D7A 6F04 ble +0x6 /* 00002D80 */
00002D7C 2B46 F35A move.l [A5 - 0xCA6], D6
label00002D80:
00002D80 206D F366 movea.l A0, [A5 - 0xC9A]
00002D84 2F08 move.l -[A7], A0
00002D86 7064 moveq.l D0, 0x64
00002D88 2F00 move.l -[A7], D0
00002D8A 220B move.l D1, A3
00002D8C 7414 moveq.l D2, 0x14
00002D8E D282 add.l D1, D2
00002D90 2F01 move.l -[A7], D1
00002D92 220B move.l D1, A3
00002D94 5881 addq.l D1, 4
00002D96 2F01 move.l -[A7], D1
00002D98 2F0C move.l -[A7], A4
00002D9A 486D F31A pea.l [A5 - 0xCE6]
00002D9E 222D F35A move.l D1, [A5 - 0xCA6]
00002DA2 9286 sub.l D1, D6
00002DA4 2F01 move.l -[A7], D1
00002DA6 4887 ext.w D7
00002DA8 48C7 ext.l D7
00002DAA 2F07 move.l -[A7], D7
00002DAC 486D F31C pea.l [A5 - 0xCE4]
00002DB0 4EBA 19DE jsr [PC + 0x19DE /* 00004790 */]
00002DB4 4FEF 0024 lea.l A7, [A7 + 0x24]
00002DB8 4CEE 18C0 FFE0 movem.l A4,A3,D7,D6, [A6 - 0x20]
00002DBE 4E5E unlink A6
00002DC0 4E75 rts
00002DC2 8B50 or.w [A0], D5
00002DC4 7269 moveq.l D1, 0x69
00002DC6 6E74 bgt +0x76 /* 00002E3C */
00002DC8 4865 pea.l -[A5]
00002DCA 6164 bsr +0x66 /* 00002E30 */
00002DCC 6572 bcs +0x74 /* 00002E40 */
00002DCE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002DD0-00002DD8
fn00002DD0:
00002DD0 4E56 0000 link A6, 0
00002DD4 48E7 0108 movem.l -[A7], D7,A4
// end alternate branch 00002DD0-00002DD8
fn00002DD0: // (misaligned)
00002DD2 0000 48E7 ori.b D0, 0xE7
00002DD6 0108 btst A0, D0
00002DD8 2E2E 0008 move.l D7, [A6 + 0x8]
00002DDC 6030 bra +0x32 /* 00002E0E */
label00002DDE:
00002DDE 4EBA D382 jsr [PC - 0x2C7E /* 00000162 */]
00002DE2 2840 movea.l A4, D0
00002DE4 200C move.l D0, A4
00002DE6 6618 bne +0x1A /* 00002E00 */
00002DE8 7000 moveq.l D0, 0x00
00002DEA 2F00 move.l -[A7], D0
00002DEC 486D F330 pea.l [A5 - 0xCD0]
00002DF0 486D F350 pea.l [A5 - 0xCB0]
00002DF4 4EBA F18C jsr [PC - 0xE74 /* 00001F82 */]
00002DF8 7001 moveq.l D0, 0x01
00002DFA 4FEF 000C lea.l A7, [A7 + 0xC]
00002DFE 6014 bra +0x16 /* 00002E14 */
label00002E00:
00002E00 2F0C move.l -[A7], A4
00002E02 4EBA D398 jsr [PC - 0x2C68 /* 0000019C */]
00002E06 0487 0000 0200 subi.l D7, 0x200
00002E0C 584F addq.w A7, 4
label00002E0E:
00002E0E 4A87 tst.l D7
00002E10 6ECC bgt -0x32 /* 00002DDE */
00002E12 7000 moveq.l D0, 0x00
label00002E14:
00002E14 4CEE 1080 FFF8 movem.l A4,D7, [A6 - 0x8]
00002E1A 4E5E unlink A6
00002E1C 4E75 rts
00002E1E 8853 or.w D4, [A3]
00002E20 6B69 bmi +0x6B /* 00002E8B */
00002E22 7046 moveq.l D0, 0x46
00002E24 696C bvs +0x6E /* 00002E92 */
00002E26 6500 0000 bcs +0x2 /* 00002E28 */
// begin alternate branch 00002E28-00002E30
label00002E28:
00002E28 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00002E2A: // (misaligned)
00002E2C 0000 48E7 ori.b D0, 0xE7
// end alternate branch 00002E28-00002E30
label00002E28: // (misaligned)
fn00002E2A:
00002E2A 4E56 0000 link A6, 0
00002E2E 48E7 1118 movem.l -[A7], D3,D7,A3,A4
// begin alternate branch 00002E30-00002E32
fn00002E30:
00002E30 1118 move.b -[A0], [A0]+
// end alternate branch 00002E30-00002E32
fn00002E30: // (misaligned)
00002E32 49ED F3EA lea.l A4, [A5 - 0xC16]
00002E36 47ED F36A lea.l A3, [A5 - 0xC96]
00002E3A 598F subq.l A7, 4
label00002E3C:
00002E3C 3F3C 0080 move.w -[A7], 0x80
label00002E40:
00002E40 A9BF trap GetRMenu
00002E42 289F move.l [A4], [A7]+
00002E44 6622 bne +0x24 /* 00002E68 */
00002E46 558F subq.l A7, 2
00002E48 A9AF trap ResError
00002E4A 301F move.w D0, [A7]+
00002E4C 48C0 ext.l D0
00002E4E 2F00 move.l -[A7], D0
00002E50 7000 moveq.l D0, 0x00
00002E52 2F00 move.l -[A7], D0
00002E54 486D F374 pea.l [A5 - 0xC8C]
00002E58 2F0B move.l -[A7], A3
00002E5A 4EBA F08C jsr [PC - 0xF74 /* 00001EE8 */]
00002E5E 7001 moveq.l D0, 0x01
00002E60 4FEF 0010 lea.l A7, [A7 + 0x10]
00002E64 6000 0130 bra +0x132 /* 00002F96 */
label00002E68:
00002E68 2F14 move.l -[A7], [A4]
00002E6A 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00002E70 A94D trap AppendResMenu/AddResMenu
00002E72 598F subq.l A7, 4
00002E74 3F3C 0081 move.w -[A7], 0x81
00002E78 A9BF trap GetRMenu
00002E7A 295F 0004 move.l [A4 + 0x4], [A7]+
00002E7E 6622 bne +0x24 /* 00002EA2 */
00002E80 558F subq.l A7, 2
00002E82 A9AF trap ResError
00002E84 301F move.w D0, [A7]+
00002E86 48C0 ext.l D0
00002E88 2F00 move.l -[A7], D0
00002E8A 7000 moveq.l D0, 0x00
label00002E8B: // (misaligned)
00002E8C 2F00 move.l -[A7], D0
00002E8E 486D F388 pea.l [A5 - 0xC78]
label00002E92:
00002E92 2F0B move.l -[A7], A3
00002E94 4EBA F052 jsr [PC - 0xFAE /* 00001EE8 */]
00002E98 7001 moveq.l D0, 0x01
00002E9A 4FEF 0010 lea.l A7, [A7 + 0x10]
00002E9E 6000 00F6 bra +0xF8 /* 00002F96 */
label00002EA2:
00002EA2 598F subq.l A7, 4
00002EA4 3F3C 0082 move.w -[A7], 0x82
00002EA8 A9BF trap GetRMenu
00002EAA 295F 0008 move.l [A4 + 0x8], [A7]+
00002EAE 6622 bne +0x24 /* 00002ED2 */
00002EB0 558F subq.l A7, 2
00002EB2 A9AF trap ResError
00002EB4 301F move.w D0, [A7]+
00002EB6 48C0 ext.l D0
00002EB8 2F00 move.l -[A7], D0
00002EBA 7000 moveq.l D0, 0x00
00002EBC 2F00 move.l -[A7], D0
00002EBE 486D F39C pea.l [A5 - 0xC64]
00002EC2 2F0B move.l -[A7], A3
00002EC4 4EBA F022 jsr [PC - 0xFDE /* 00001EE8 */]
00002EC8 7001 moveq.l D0, 0x01
00002ECA 4FEF 0010 lea.l A7, [A7 + 0x10]
00002ECE 6000 00C6 bra +0xC8 /* 00002F96 */
label00002ED2:
00002ED2 598F subq.l A7, 4
00002ED4 3F3C 0083 move.w -[A7], 0x83
00002ED8 A9BF trap GetRMenu
00002EDA 295F 000C move.l [A4 + 0xC], [A7]+
00002EDE 6622 bne +0x24 /* 00002F02 */
00002EE0 558F subq.l A7, 2
00002EE2 A9AF trap ResError
00002EE4 301F move.w D0, [A7]+
00002EE6 48C0 ext.l D0
00002EE8 2F00 move.l -[A7], D0
00002EEA 7000 moveq.l D0, 0x00
00002EEC 2F00 move.l -[A7], D0
00002EEE 486D F3B0 pea.l [A5 - 0xC50]
00002EF2 2F0B move.l -[A7], A3
00002EF4 4EBA EFF2 jsr [PC - 0x100E /* 00001EE8 */]
00002EF8 7001 moveq.l D0, 0x01
00002EFA 4FEF 0010 lea.l A7, [A7 + 0x10]
00002EFE 6000 0096 bra +0x98 /* 00002F96 */
label00002F02:
00002F02 7E00 moveq.l D7, 0x00
label00002F04:
00002F04 2007 move.l D0, D7
00002F06 E540 asl D0.w, 2
00002F08 2F34 0000 move.l -[A7], [A4 + D0.w]
00002F0C 7000 moveq.l D0, 0x00
00002F0E 3F00 move.w -[A7], D0
00002F10 A935 trap InsertMenu
00002F12 2007 move.l D0, D7
00002F14 5287 addq.l D7, 1
00002F16 7004 moveq.l D0, 0x04
00002F18 B087 cmp.l D0, D7
00002F1A 6EE8 bgt -0x16 /* 00002F04 */
00002F1C 4EBA 039C jsr [PC + 0x39C /* 000032BA */]
00002F20 4A2D F477 tst.b [A5 - 0xB89]
00002F24 670A beq +0xC /* 00002F30 */
00002F26 4A2D F464 tst.b [A5 - 0xB9C]
00002F2A 6704 beq +0x6 /* 00002F30 */
00002F2C 422D F464 clr.b [A5 - 0xB9C]
label00002F30:
00002F30 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F34 7001 moveq.l D0, 0x01
00002F36 3F00 move.w -[A7], D0
00002F38 1F2D F461 move.b -[A7], [A5 - 0xB9F]
00002F3C A945 trap CheckItem
00002F3E 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F42 7002 moveq.l D0, 0x02
00002F44 3F00 move.w -[A7], D0
00002F46 1F2D F462 move.b -[A7], [A5 - 0xB9E]
00002F4A A945 trap CheckItem
00002F4C 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F50 7003 moveq.l D0, 0x03
00002F52 3F00 move.w -[A7], D0
00002F54 1F2D F465 move.b -[A7], [A5 - 0xB9B]
00002F58 A945 trap CheckItem
00002F5A 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F5E 7004 moveq.l D0, 0x04
00002F60 3F00 move.w -[A7], D0
00002F62 1F2D F464 move.b -[A7], [A5 - 0xB9C]
00002F66 A945 trap CheckItem
00002F68 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F6C 700A moveq.l D0, 0x0A
00002F6E 3F00 move.w -[A7], D0
00002F70 1F2D F460 move.b -[A7], [A5 - 0xBA0]
00002F74 A945 trap CheckItem
00002F76 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F7A 700B moveq.l D0, 0x0B
00002F7C 3F00 move.w -[A7], D0
00002F7E 1F2D F463 move.b -[A7], [A5 - 0xB9D]
00002F82 A945 trap CheckItem
00002F84 2F2C 000C move.l -[A7], [A4 + 0xC]
00002F88 7005 moveq.l D0, 0x05
00002F8A 3F00 move.w -[A7], D0
00002F8C 1F2D F477 move.b -[A7], [A5 - 0xB89]
00002F90 A945 trap CheckItem
00002F92 A937 trap DrawMenuBar
00002F94 7000 moveq.l D0, 0x00
label00002F96:
00002F96 4CEE 1888 FFF0 movem.l A4,A3,D7,D3, [A6 - 0x10]
00002F9C 4E5E unlink A6
00002F9E 4E75 rts
00002FA0 884D or.w D4, A5
00002FA2 656E bcs +0x70 /* 00003012 */
00002FA4 7549 moveq.l D2, 0x49
00002FA6 6E69 bgt +0x6B /* 00003011 */
00002FA8 7400 moveq.l D2, 0x00
00002FAA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002FAC-00002FB0
fn00002FAC:
00002FAC 4E56 FEFC link A6, -0x0104
// end alternate branch 00002FAC-00002FB0
fn00002FAC: // (misaligned)
00002FAE FEFC .extension 0xEFC // unimplemented
00002FB0 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002FB4 2C2E 0008 move.l D6, [A6 + 0x8]
00002FB8 49ED F3EA lea.l A4, [A5 - 0xC16]
00002FBC 2E3C 0000 FFFF move.l D7, 0xFFFF
00002FC2 CE86 and.l D7, D6
00002FC4 2006 move.l D0, D6
00002FC6 4840 swap.w D0
00002FC8 48C0 ext.l D0
00002FCA 2A3C 0000 FFFF move.l D5, 0xFFFF
00002FD0 CA80 and.l D5, D0
00002FD2 47ED F3C6 lea.l A3, [A5 - 0xC3A]
00002FD6 3005 move.w D0, D5
00002FD8 0440 0080 subi.w D0, 0x80
00002FDC 6B00 02B6 bmi +0x2B8 /* 00003294 */
00002FE0 0C40 0003 cmpi.w D0, 0x3
00002FE4 6E00 02AE bgt +0x2B0 /* 00003294 */
00002FE8 D040 add.w D0, D0
00002FEA 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002FEE 4EFB 0000 jmp [PC + D0.w]
00002FF2 000A 0092 ori.b A2, 0x92
00002FF6 0124 btst -[A4], D0
00002FF8 0134 0C47 btst [A4 + D0 * 4 + 0x47], D0
00002FFC 0001 6608 ori.b D1, 0x8
00003000 4EBA E30E jsr [PC - 0x1CF2 /* 00001310 */]
00003004 6000 028E bra +0x290 /* 00003294 */
00003008 2F14 move.l -[A7], [A4]
0000300A 3F07 move.w -[A7], D7
0000300C 486E FEFC pea.l [A6 - 0x104]
00003010 A946 trap GetMenuItemText/GetItem
label00003011: // (misaligned)
label00003012:
00003012 486E FFFC pea.l [A6 - 0x4]
00003016 A874 trap GetPort
00003018 598F subq.l A7, 4
0000301A A9FC trap ZeroScrap
0000301C 201F move.l D0, [A7]+
0000301E 3C00 move.w D6, D0
00003020 671A beq +0x1C /* 0000303C */
00003022 48C6 ext.l D6
00003024 2F06 move.l -[A7], D6
00003026 7000 moveq.l D0, 0x00
00003028 2F00 move.l -[A7], D0
0000302A 486D F3D0 pea.l [A5 - 0xC30]
0000302E 2F0B move.l -[A7], A3
00003030 4EBA EEB6 jsr [PC - 0x114A /* 00001EE8 */]
00003034 4FEF 0010 lea.l A7, [A7 + 0x10]
00003038 6000 025A bra +0x25C /* 00003294 */
label0000303C:
0000303C 558F subq.l A7, 2
0000303E 4EBA 267E jsr [PC + 0x267E /* 000056BE */]
00003042 3C1F move.w D6, [A7]+
00003044 671A beq +0x1C /* 00003060 */
00003046 48C6 ext.l D6
00003048 2F06 move.l -[A7], D6
0000304A 7000 moveq.l D0, 0x00
0000304C 2F00 move.l -[A7], D0
0000304E 486D F3DC pea.l [A5 - 0xC24]
00003052 2F0B move.l -[A7], A3
00003054 4EBA EE92 jsr [PC - 0x116E /* 00001EE8 */]
00003058 4FEF 0010 lea.l A7, [A7 + 0x10]
0000305C 6000 0236 bra +0x238 /* 00003294 */
label00003060:
00003060 558F subq.l A7, 2
00003062 486E FEFC pea.l [A6 - 0x104]
00003066 A9B6 trap OpenDeskAcc
00003068 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000306C A873 trap SetPort
0000306E 598F subq.l A7, 4
00003070 A924 trap FrontWindow
00003072 4A9F tst.l [A7]+
00003074 544F addq.w A7, 2
00003076 6700 021C beq +0x21E /* 00003294 */
0000307A 4EBA 0278 jsr [PC + 0x278 /* 000032F4 */]
0000307E 6000 0214 bra +0x216 /* 00003294 */
00003082 3007 move.w D0, D7
00003084 5340 subq.w D0, 1
00003086 6B00 020C bmi +0x20E /* 00003294 */
0000308A 0C40 0008 cmpi.w D0, 0x8
0000308E 6E00 0204 bgt +0x206 /* 00003294 */
00003092 D040 add.w D0, D0
00003094 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003098 4EFB 0000 jmp [PC + D0.w]
0000309C 0014 001C ori.b [A4], 0x1C
000030A0 0024 01FA ori.b -[A4], 0xFA
000030A4 002C 004E 0068 ori.b [A4 + 0x68], 0x4E /* 'N' */
000030AA 01FA 0070 bset [PC + 0x70 /* 0000311C */], D0
000030AE 4EBA DA5E jsr [PC - 0x25A2 /* 00000B0E */]
000030B2 6000 01E0 bra +0x1E2 /* 00003294 */
000030B6 4EBA F1E4 jsr [PC - 0xE1C /* 0000229C */]
000030BA 6000 01D8 bra +0x1DA /* 00003294 */
000030BE 4EBA F904 jsr [PC - 0x6FC /* 000029C4 */]
000030C2 6000 01D0 bra +0x1D2 /* 00003294 */
000030C6 598F subq.l A7, 4
000030C8 A924 trap FrontWindow
000030CA 265F movea.l A3, [A7]+
000030CC 200B move.l D0, A3
000030CE 6700 01C4 beq +0x1C6 /* 00003294 */
000030D2 4A6B 006C tst.w [A3 + 0x6C]
000030D6 6C00 01BC bge +0x1BE /* 00003294 */
000030DA 3F2B 006C move.w -[A7], [A3 + 0x6C]
000030DE A9B7 trap CloseDeskAcc
000030E0 4EBA 01D8 jsr [PC + 0x1D8 /* 000032BA */]
000030E4 6000 01AE bra +0x1B0 /* 00003294 */
000030E8 4EBA 1954 jsr [PC + 0x1954 /* 00004A3E */]
000030EC 4A00 tst.b D0
000030EE 6600 01A4 bne +0x1A6 /* 00003294 */
000030F2 558F subq.l A7, 2
000030F4 2F2D EB7C move.l -[A7], [A5 - 0x1484]
000030F8 4EBA 2864 jsr [PC + 0x2864 /* 0000595E */]
000030FC 544F addq.w A7, 2
000030FE 6000 0194 bra +0x196 /* 00003294 */
00003102 4EBA 039C jsr [PC + 0x39C /* 000034A0 */]
00003106 6000 018C bra +0x18E /* 00003294 */
0000310A 1B7C 0001 EB84 move.b [A5 - 0x147C], 0x1
00003110 6000 0182 bra +0x184 /* 00003294 */
00003114 558F subq.l A7, 2
00003116 3007 move.w D0, D7
00003118 5340 subq.w D0, 1
0000311A 3F00 move.w -[A7], D0
0000311C A9C2 trap SysEdit
0000311E 544F addq.w A7, 2
00003120 6000 0172 bra +0x174 /* 00003294 */
00003124 3007 move.w D0, D7
00003126 5340 subq.w D0, 1
00003128 6B00 016A bmi +0x16C /* 00003294 */
0000312C 0C40 000C cmpi.w D0, 0xC
00003130 6E00 0162 bgt +0x164 /* 00003294 */
00003134 D040 add.w D0, D0
00003136 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000313A 4EFB 0000 jmp [PC + D0.w]
0000313E 001C 004E ori.b [A4]+, 0x4E /* 'N' */
00003142 0080 0098 0120 ori.l D0, 0x980120
00003148 0154 bchg [A4], D0
0000314A 00E8 00D2 ori.? [A0 + 0xD2], 0xFFFFFFFFFFFFFFFF
0000314E 0158 bchg [A0]+, D0
00003150 00EE 0104 ori.? [A6 + 0x104], 0xFFFFFFFFFFFFFFFF
00003154 0158 bchg [A0]+, D0
00003156 011A btst [A2]+, D0
00003158 0A2D 0001 F461 xori.b [A5 - 0xB9F], 0x1
0000315E 2F2C 000C move.l -[A7], [A4 + 0xC]
00003162 7001 moveq.l D0, 0x01
00003164 3F00 move.w -[A7], D0
00003166 1F2D F461 move.b -[A7], [A5 - 0xB9F]
0000316A A945 trap CheckItem
0000316C 4A2D F461 tst.b [A5 - 0xB9F]
00003170 6700 0122 beq +0x124 /* 00003294 */
00003174 422D F462 clr.b [A5 - 0xB9E]
00003178 2F2C 000C move.l -[A7], [A4 + 0xC]
0000317C 7002 moveq.l D0, 0x02
0000317E 3F00 move.w -[A7], D0
00003180 1F2D F462 move.b -[A7], [A5 - 0xB9E]
00003184 A945 trap CheckItem
00003186 6000 010C bra +0x10E /* 00003294 */
0000318A 0A2D 0001 F462 xori.b [A5 - 0xB9E], 0x1
00003190 2F2C 000C move.l -[A7], [A4 + 0xC]
00003194 7002 moveq.l D0, 0x02
00003196 3F00 move.w -[A7], D0
00003198 1F2D F462 move.b -[A7], [A5 - 0xB9E]
0000319C A945 trap CheckItem
0000319E 4A2D F462 tst.b [A5 - 0xB9E]
000031A2 6700 00F0 beq +0xF2 /* 00003294 */
000031A6 422D F461 clr.b [A5 - 0xB9F]
000031AA 2F2C 000C move.l -[A7], [A4 + 0xC]
000031AE 7001 moveq.l D0, 0x01
000031B0 3F00 move.w -[A7], D0
000031B2 1F2D F461 move.b -[A7], [A5 - 0xB9F]
000031B6 A945 trap CheckItem
000031B8 6000 00DA bra +0xDC /* 00003294 */
000031BC 0A2D 0001 F465 xori.b [A5 - 0xB9B], 0x1
000031C2 2F2C 000C move.l -[A7], [A4 + 0xC]
000031C6 7003 moveq.l D0, 0x03
000031C8 3F00 move.w -[A7], D0
000031CA 1F2D F465 move.b -[A7], [A5 - 0xB9B]
000031CE A945 trap CheckItem
000031D0 6000 00C2 bra +0xC4 /* 00003294 */
000031D4 0A2D 0001 F464 xori.b [A5 - 0xB9C], 0x1
000031DA 2F2C 000C move.l -[A7], [A4 + 0xC]
000031DE 7004 moveq.l D0, 0x04
000031E0 3F00 move.w -[A7], D0
000031E2 1F2D F464 move.b -[A7], [A5 - 0xB9C]
000031E6 A945 trap CheckItem
000031E8 4A2D F464 tst.b [A5 - 0xB9C]
000031EC 6700 00A6 beq +0xA8 /* 00003294 */
000031F0 4A2D F477 tst.b [A5 - 0xB89]
000031F4 6700 009E beq +0xA0 /* 00003294 */
000031F8 422D F477 clr.b [A5 - 0xB89]
000031FC 2F2C 000C move.l -[A7], [A4 + 0xC]
00003200 7005 moveq.l D0, 0x05
00003202 3F00 move.w -[A7], D0
00003204 1F2D F477 move.b -[A7], [A5 - 0xB89]
00003208 A945 trap CheckItem
0000320A 6000 0088 bra +0x8A /* 00003294 */
0000320E 0A2D 0001 F476 xori.b [A5 - 0xB8A], 0x1
00003214 2F2C 000C move.l -[A7], [A4 + 0xC]
00003218 7008 moveq.l D0, 0x08
0000321A 3F00 move.w -[A7], D0
0000321C 1F2D F476 move.b -[A7], [A5 - 0xB8A]
00003220 A945 trap CheckItem
00003222 6070 bra +0x72 /* 00003294 */
00003224 4EBA E664 jsr [PC - 0x199C /* 0000188A */]
00003228 606A bra +0x6C /* 00003294 */
0000322A 0A2D 0001 F460 xori.b [A5 - 0xBA0], 0x1
00003230 2F2C 000C move.l -[A7], [A4 + 0xC]
00003234 700A moveq.l D0, 0x0A
00003236 3F00 move.w -[A7], D0
00003238 1F2D F460 move.b -[A7], [A5 - 0xBA0]
0000323C A945 trap CheckItem
0000323E 6054 bra +0x56 /* 00003294 */
00003240 0A2D 0001 F463 xori.b [A5 - 0xB9D], 0x1
00003246 2F2C 000C move.l -[A7], [A4 + 0xC]
0000324A 700B moveq.l D0, 0x0B
0000324C 3F00 move.w -[A7], D0
0000324E 1F2D F463 move.b -[A7], [A5 - 0xB9D]
00003252 A945 trap CheckItem
00003254 603E bra +0x40 /* 00003294 */
00003256 4EBA EA5A jsr [PC - 0x15A6 /* 00001CB2 */]
0000325A 6038 bra +0x3A /* 00003294 */
0000325C 0A2D 0001 F477 xori.b [A5 - 0xB89], 0x1
00003262 2F2C 000C move.l -[A7], [A4 + 0xC]
00003266 7005 moveq.l D0, 0x05
00003268 3F00 move.w -[A7], D0
0000326A 1F2D F477 move.b -[A7], [A5 - 0xB89]
0000326E A945 trap CheckItem
00003270 4A2D F477 tst.b [A5 - 0xB89]
00003274 671E beq +0x20 /* 00003294 */
00003276 4A2D F464 tst.b [A5 - 0xB9C]
0000327A 6718 beq +0x1A /* 00003294 */
0000327C 422D F464 clr.b [A5 - 0xB9C]
00003280 2F2C 000C move.l -[A7], [A4 + 0xC]
00003284 7004 moveq.l D0, 0x04
00003286 3F00 move.w -[A7], D0
00003288 1F2D F464 move.b -[A7], [A5 - 0xB9C]
0000328C A945 trap CheckItem
0000328E 6004 bra +0x6 /* 00003294 */
00003290 4EBA E6D0 jsr [PC - 0x1930 /* 00001962 */]
label00003294:
00003294 7000 moveq.l D0, 0x00
00003296 3F00 move.w -[A7], D0
00003298 A938 trap HiliteMenu
0000329A 70FF moveq.l D0, 0xFFFFFFFF
0000329C 3F00 move.w -[A7], D0
0000329E 7200 moveq.l D1, 0x00
000032A0 3F01 move.w -[A7], D1
000032A2 201F move.l D0, [A7]+
000032A4 A032 trap FlushEvents
000032A6 4CEE 18E0 FEE8 movem.l A4,A3,D7,D6,D5, [A6 - 0x118]
000032AC 4E5E unlink A6
000032AE 4E75 rts
000032B0 874D 656E pack -[A3], -[A5], 0x656E
000032B4 7543 moveq.l D2, 0x43
000032B6 6D64 blt +0x66 /* 0000331C */
000032B8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000032BA-000032C0
fn000032BA:
000032BA 4E56 0000 link A6, 0
000032BE 2F0C move.l -[A7], A4
// end alternate branch 000032BA-000032C0
fn000032BA: // (misaligned)
000032BC 0000 2F0C ori.b D0, 0xC
000032C0 49ED F3EA lea.l A4, [A5 - 0xC16]
000032C4 2F2C 0008 move.l -[A7], [A4 + 0x8]
000032C8 7000 moveq.l D0, 0x00
000032CA 3F00 move.w -[A7], D0
000032CC A93A trap DisableItem
000032CE 2F2C 0004 move.l -[A7], [A4 + 0x4]
000032D2 7005 moveq.l D0, 0x05
000032D4 3F00 move.w -[A7], D0
000032D6 A93A trap DisableItem
000032D8 A937 trap DrawMenuBar
000032DA 1B7C 0001 F3E8 move.b [A5 - 0xC18], 0x1
000032E0 286E FFFC movea.l A4, [A6 - 0x4]
000032E4 4E5E unlink A6
000032E6 4E75 rts
000032E8 8844 or.w D4, D4
000032EA 4461 neg.w -[A1]
000032EC 4D65 chk.w D6, -[A5]
000032EE 6E75 bgt +0x77 /* 00003365 */
000032F0 7300 moveq.l D1, 0x00
000032F2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000032F4-000032FA
fn000032F4:
000032F4 4E56 0000 link A6, 0
000032F8 2F0C move.l -[A7], A4
// end alternate branch 000032F4-000032FA
fn000032F4: // (misaligned)
000032F6 0000 2F0C ori.b D0, 0xC
000032FA 49ED F3EA lea.l A4, [A5 - 0xC16]
000032FE 2F2C 0008 move.l -[A7], [A4 + 0x8]
00003302 7000 moveq.l D0, 0x00
00003304 3F00 move.w -[A7], D0
00003306 A939 trap EnableItem
00003308 2F2C 0004 move.l -[A7], [A4 + 0x4]
0000330C 7005 moveq.l D0, 0x05
0000330E 3F00 move.w -[A7], D0
00003310 A939 trap EnableItem
00003312 A937 trap DrawMenuBar
00003314 422D F3E8 clr.b [A5 - 0xC18]
00003318 286E FFFC movea.l A4, [A6 - 0x4]
label0000331C:
0000331C 4E5E unlink A6
0000331E 4E75 rts
00003320 8845 or.w D4, D5
00003322 4461 neg.w -[A1]
00003324 4D65 chk.w D6, -[A5]
00003326 6E75 bgt +0x77 /* 0000339D */
00003328 7300 moveq.l D1, 0x00
0000332A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000332C-00003330
fn0000332C:
0000332C 4E56 FED2 link A6, -0x012E
// end alternate branch 0000332C-00003330
fn0000332C: // (misaligned)
0000332E FED2 .extension 0xED2 // unimplemented
00003330 426D F460 clr.w [A5 - 0xBA0]
00003334 426D F462 clr.w [A5 - 0xB9E]
00003338 426D F464 clr.w [A5 - 0xB9C]
0000333C 7014 moveq.l D0, 0x14
0000333E 2B40 F466 move.l [A5 - 0xB9A], D0
00003342 2400 move.l D2, D0
00003344 2202 move.l D1, D2
00003346 C4FC mulu.w D2, 0xFFFFFFFFFFFFFFFF
00003348 0200 4841 andi.b D0, 0x41 /* 'A' */
0000334C C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
0000334E 0200 4841 andi.b D0, 0x41 /* 'A' */
00003352 4241 clr.w D1
00003354 D481 add.l D2, D1
00003356 2B42 F46A move.l [A5 - 0xB96], D2
0000335A 7004 moveq.l D0, 0x04
0000335C 2F00 move.l -[A7], D0
0000335E 486D F3FA pea.l [A5 - 0xC06]
00003362 486D F46E pea.l [A5 - 0xB92]
label00003365: // (misaligned)
00003366 4EAD 0172 jsr [A5 + 0x172]
0000336A 7004 moveq.l D0, 0x04
0000336C 2F00 move.l -[A7], D0
0000336E 486D F400 pea.l [A5 - 0xC00]
00003372 486D F472 pea.l [A5 - 0xB8E]
00003376 4EAD 0172 jsr [A5 + 0x172]
0000337A 426D F476 clr.w [A5 - 0xB8A]
0000337E 486D F478 pea.l [A5 - 0xB88]
00003382 4EBA 02E2 jsr [PC + 0x2E2 /* 00003666 */]
00003386 558F subq.l A7, 2
00003388 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000338E 486E FED2 pea.l [A6 - 0x12E]
00003392 4EBA 2350 jsr [PC + 0x2350 /* 000056E4 */]
00003396 4A5F tst.w [A7]+
00003398 4FEF 001C lea.l A7, [A7 + 0x1C]
0000339C 6628 bne +0x2A /* 000033C6 */
label0000339D: // (misaligned)
0000339E 7001 moveq.l D0, 0x01
000033A0 C0AE FED2 and.l D0, [A6 - 0x12E]
000033A4 6720 beq +0x22 /* 000033C6 */
000033A6 558F subq.l A7, 2
000033A8 7000 moveq.l D0, 0x00
000033AA 3F00 move.w -[A7], D0
000033AC 2F3C 7072 6566 move.l -[A7], 0x70726566 /* 'pref' */
000033B2 7200 moveq.l D1, 0x00
000033B4 1F01 move.b -[A7], D1
000033B6 486D F496 pea.l [A5 - 0xB6A]
000033BA 486D F498 pea.l [A5 - 0xB68]
000033BE 4EBA 21A6 jsr [PC + 0x21A6 /* 00005566 */]
000033C2 4A5F tst.w [A7]+
000033C4 6734 beq +0x36 /* 000033FA */
label000033C6:
000033C6 7000 moveq.l D0, 0x00
000033C8 2D40 FF18 move.l [A6 - 0xE8], D0
000033CC 2D40 FF1E move.l [A6 - 0xE2], D0
000033D0 426E FF22 clr.w [A6 - 0xDE]
000033D4 426E FF28 clr.w [A6 - 0xD8]
000033D8 558F subq.l A7, 2
000033DA 486E FF0C pea.l [A6 - 0xF4]
000033DE 7000 moveq.l D0, 0x00
000033E0 1F00 move.b -[A7], D0
000033E2 4EBA 1FDA jsr [PC + 0x1FDA /* 000053BE */]
000033E6 4A6E FF1C tst.w [A6 - 0xE4]
000033EA 544F addq.w A7, 2
000033EC 660C bne +0xE /* 000033FA */
000033EE 2B6E FF6A F498 move.l [A5 - 0xB68], [A6 - 0x96]
000033F4 3B6E FF22 F496 move.w [A5 - 0xB6A], [A6 - 0xDE]
label000033FA:
000033FA 7000 moveq.l D0, 0x00
000033FC 2D40 FF92 move.l [A6 - 0x6E], D0
00003400 2D6D F49C FF98 move.l [A6 - 0x68], [A5 - 0xB64]
00003406 3D6D F496 FF9C move.w [A6 - 0x64], [A5 - 0xB6A]
0000340C 422E FFA0 clr.b [A6 - 0x60]
00003410 2D6D F498 FFB6 move.l [A6 - 0x4A], [A5 - 0xB68]
00003416 1D7C 0001 FFA1 move.b [A6 - 0x5F], 0x1
0000341C 2D40 FFA2 move.l [A6 - 0x5E], D0
00003420 558F subq.l A7, 2
00003422 486E FF86 pea.l [A6 - 0x7A]
00003426 7000 moveq.l D0, 0x00
00003428 1F00 move.b -[A7], D0
0000342A 4EBA 1FA4 jsr [PC + 0x1FA4 /* 000053D0 */]
0000342E 4A5F tst.w [A7]+
00003430 6658 bne +0x5A /* 0000348A */
00003432 41EE FED6 lea.l A0, [A6 - 0x12A]
00003436 2D48 FFA6 move.l [A6 - 0x5A], A0
0000343A 7036 moveq.l D0, 0x36
0000343C 2D40 FFAA move.l [A6 - 0x56], D0
00003440 3D7C 0001 FFB2 move.w [A6 - 0x4E], 0x1
00003446 7200 moveq.l D1, 0x00
00003448 2D41 FFB4 move.l [A6 - 0x4C], D1
0000344C 558F subq.l A7, 2
0000344E 486E FF86 pea.l [A6 - 0x7A]
00003452 7000 moveq.l D0, 0x00
00003454 1F00 move.b -[A7], D0
00003456 4EBA 1CB0 jsr [PC + 0x1CB0 /* 00005108 */]
0000345A 4A5F tst.w [A7]+
0000345C 661C bne +0x1E /* 0000347A */
0000345E 7036 moveq.l D0, 0x36
00003460 B0AE FFAE cmp.l D0, [A6 - 0x52]
00003464 6614 bne +0x16 /* 0000347A */
00003466 7036 moveq.l D0, 0x36
00003468 2F00 move.l -[A7], D0
0000346A 486E FED6 pea.l [A6 - 0x12A]
0000346E 486D F460 pea.l [A5 - 0xBA0]
00003472 4EAD 0172 jsr [A5 + 0x172]
00003476 4FEF 000C lea.l A7, [A7 + 0xC]
label0000347A:
0000347A 558F subq.l A7, 2
0000347C 486E FF86 pea.l [A6 - 0x7A]
00003480 7000 moveq.l D0, 0x00
00003482 1F00 move.b -[A7], D0
00003484 4EBA 1C70 jsr [PC + 0x1C70 /* 000050F6 */]
00003488 544F addq.w A7, 2
label0000348A:
0000348A 4E5E unlink A6
0000348C 4E75 rts
0000348E 8E47 or.w D7, D7
00003490 6574 bcs +0x76 /* 00003506 */
00003492 5072 6566 addq.w <<invalid full ext with IS == 1 and I/IS == 6>>, 8
00003496 6572 bcs +0x74 /* 0000350A */
00003498 656E bcs +0x70 /* 00003508 */
0000349A 6365 bls +0x67 /* 00003501 */
0000349C 7300 moveq.l D1, 0x00
0000349E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000034A0-000034A4
fn000034A0:
000034A0 4E56 FF86 link A6, -0x007A
// end alternate branch 000034A0-000034A4
fn000034A0: // (misaligned)
000034A2 FF86 .extension 0xF86 // unimplemented
000034A4 48E7 0108 movem.l -[A7], D7,A4
000034A8 49ED F406 lea.l A4, [A5 - 0xBFA]
000034AC 7000 moveq.l D0, 0x00
000034AE 2D40 FF92 move.l [A6 - 0x6E], D0
000034B2 2D6D F49C FF98 move.l [A6 - 0x68], [A5 - 0xB64]
000034B8 3D6D F496 FF9C move.w [A6 - 0x64], [A5 - 0xB6A]
000034BE 422E FFA0 clr.b [A6 - 0x60]
000034C2 2D6D F498 FFB6 move.l [A6 - 0x4A], [A5 - 0xB68]
000034C8 558F subq.l A7, 2
000034CA 486E FF86 pea.l [A6 - 0x7A]
000034CE 7000 moveq.l D0, 0x00
000034D0 1F00 move.b -[A7], D0
000034D2 4EBA 1F20 jsr [PC + 0x1F20 /* 000053F4 */]
000034D6 3E1F move.w D7, [A7]+
000034D8 6724 beq +0x26 /* 000034FE */
000034DA 0C47 FFD0 cmpi.w D7, 0xFFD0
000034DE 671E beq +0x20 /* 000034FE */
000034E0 302E FF96 move.w D0, [A6 - 0x6A]
000034E4 48C0 ext.l D0
000034E6 2F00 move.l -[A7], D0
000034E8 2F2D F49C move.l -[A7], [A5 - 0xB64]
000034EC 486D F418 pea.l [A5 - 0xBE8]
000034F0 2F0C move.l -[A7], A4
000034F2 4EBA E9F4 jsr [PC - 0x160C /* 00001EE8 */]
000034F6 4FEF 0010 lea.l A7, [A7 + 0x10]
000034FA 6000 014E bra +0x150 /* 0000364A */
label000034FE:
000034FE 7000 moveq.l D0, 0x00
00003500 2D40 FF92 move.l [A6 - 0x6E], D0
label00003501: // (misaligned)
00003504 2D6D F49C FF98 move.l [A6 - 0x68], [A5 - 0xB64]
// begin alternate branch 00003506-0000350A
label00003506:
00003506 F49C .extension 0x49C // unimplemented
label00003508:
00003508 FF98 .extension 0xF98 // unimplemented
// end alternate branch 00003506-0000350A
label00003506: // (misaligned)
label00003508: // (misaligned)
label0000350A:
0000350A 3D6D F496 FF9C move.w [A6 - 0x64], [A5 - 0xB6A]
00003510 2D6D F498 FFB6 move.l [A6 - 0x4A], [A5 - 0xB68]
00003516 422E FFA0 clr.b [A6 - 0x60]
0000351A 426E FFA2 clr.w [A6 - 0x5E]
0000351E 558F subq.l A7, 2
00003520 486E FF86 pea.l [A6 - 0x7A]
00003524 7000 moveq.l D0, 0x00
00003526 1F00 move.b -[A7], D0
00003528 4EBA 1EEE jsr [PC + 0x1EEE /* 00005418 */]
0000352C 4A5F tst.w [A7]+
0000352E 671E beq +0x20 /* 0000354E */
00003530 302E FF96 move.w D0, [A6 - 0x6A]
00003534 48C0 ext.l D0
00003536 2F00 move.l -[A7], D0
00003538 2F2D F49C move.l -[A7], [A5 - 0xB64]
0000353C 486D F424 pea.l [A5 - 0xBDC]
00003540 2F0C move.l -[A7], A4
00003542 4EBA E9A4 jsr [PC - 0x165C /* 00001EE8 */]
00003546 4FEF 0010 lea.l A7, [A7 + 0x10]
0000354A 6000 00FE bra +0x100 /* 0000364A */
label0000354E:
0000354E 7004 moveq.l D0, 0x04
00003550 2F00 move.l -[A7], D0
00003552 486D F432 pea.l [A5 - 0xBCE]
00003556 486E FFAA pea.l [A6 - 0x56]
0000355A 4EAD 0172 jsr [A5 + 0x172]
0000355E 7004 moveq.l D0, 0x04
00003560 2F00 move.l -[A7], D0
00003562 486D F438 pea.l [A5 - 0xBC8]
00003566 486E FFA6 pea.l [A6 - 0x5A]
0000356A 4EAD 0172 jsr [A5 + 0x172]
0000356E 7000 moveq.l D0, 0x00
00003570 2D40 FF92 move.l [A6 - 0x6E], D0
00003574 2D6D F49C FF98 move.l [A6 - 0x68], [A5 - 0xB64]
0000357A 3D6D F496 FF9C move.w [A6 - 0x64], [A5 - 0xB6A]
00003580 2D6D F498 FFB6 move.l [A6 - 0x4A], [A5 - 0xB68]
00003586 422E FFA0 clr.b [A6 - 0x60]
0000358A 558F subq.l A7, 2
0000358C 486E FF86 pea.l [A6 - 0x7A]
00003590 7000 moveq.l D0, 0x00
00003592 1F00 move.b -[A7], D0
00003594 4EBA 1E94 jsr [PC + 0x1E94 /* 0000542A */]
00003598 4A5F tst.w [A7]+
0000359A 4FEF 0018 lea.l A7, [A7 + 0x18]
0000359E 671E beq +0x20 /* 000035BE */
000035A0 302E FF96 move.w D0, [A6 - 0x6A]
000035A4 48C0 ext.l D0
000035A6 2F00 move.l -[A7], D0
000035A8 2F2D F49C move.l -[A7], [A5 - 0xB64]
000035AC 486D F43E pea.l [A5 - 0xBC2]
000035B0 2F0C move.l -[A7], A4
000035B2 4EBA E934 jsr [PC - 0x16CC /* 00001EE8 */]
000035B6 4FEF 0010 lea.l A7, [A7 + 0x10]
000035BA 6000 008E bra +0x90 /* 0000364A */
label000035BE:
000035BE 1D7C 0002 FFA1 move.b [A6 - 0x5F], 0x2
000035C4 7000 moveq.l D0, 0x00
000035C6 2D40 FFA2 move.l [A6 - 0x5E], D0
000035CA 558F subq.l A7, 2
000035CC 486E FF86 pea.l [A6 - 0x7A]
000035D0 7000 moveq.l D0, 0x00
000035D2 1F00 move.b -[A7], D0
000035D4 4EBA 1DFA jsr [PC + 0x1DFA /* 000053D0 */]
000035D8 4A5F tst.w [A7]+
000035DA 671C beq +0x1E /* 000035F8 */
000035DC 302E FF96 move.w D0, [A6 - 0x6A]
000035E0 48C0 ext.l D0
000035E2 2F00 move.l -[A7], D0
000035E4 2F2D F49C move.l -[A7], [A5 - 0xB64]
000035E8 486D F44C pea.l [A5 - 0xBB4]
000035EC 2F0C move.l -[A7], A4
000035EE 4EBA E8F8 jsr [PC - 0x1708 /* 00001EE8 */]
000035F2 4FEF 0010 lea.l A7, [A7 + 0x10]
000035F6 6052 bra +0x54 /* 0000364A */
label000035F8:
000035F8 41ED F460 lea.l A0, [A5 - 0xBA0]
000035FC 2D48 FFA6 move.l [A6 - 0x5A], A0
00003600 7036 moveq.l D0, 0x36
00003602 2D40 FFAA move.l [A6 - 0x56], D0
00003606 3D7C 0001 FFB2 move.w [A6 - 0x4E], 0x1
0000360C 7200 moveq.l D1, 0x00
0000360E 2D41 FFB4 move.l [A6 - 0x4C], D1
00003612 558F subq.l A7, 2
00003614 486E FF86 pea.l [A6 - 0x7A]
00003618 7000 moveq.l D0, 0x00
0000361A 1F00 move.b -[A7], D0
0000361C 4EBA 1AFC jsr [PC + 0x1AFC /* 0000511A */]
00003620 3E1F move.w D7, [A7]+
00003622 6716 beq +0x18 /* 0000363A */
00003624 48C7 ext.l D7
00003626 2F07 move.l -[A7], D7
00003628 2F2D F49C move.l -[A7], [A5 - 0xB64]
0000362C 486D F456 pea.l [A5 - 0xBAA]
00003630 2F0C move.l -[A7], A4
00003632 4EBA E8B4 jsr [PC - 0x174C /* 00001EE8 */]
00003636 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000363A:
0000363A 558F subq.l A7, 2
0000363C 486E FF86 pea.l [A6 - 0x7A]
00003640 7000 moveq.l D0, 0x00
00003642 1F00 move.b -[A7], D0
00003644 4EBA 1AB0 jsr [PC + 0x1AB0 /* 000050F6 */]
00003648 544F addq.w A7, 2
label0000364A:
0000364A 4CEE 1080 FF7E movem.l A4,D7, [A6 - 0x82]
00003650 4E5E unlink A6
00003652 4E75 rts
00003654 8F53 or.w [A3], D7
00003656 6176 bsr +0x78 /* 000036CE */
00003658 6550 bcs +0x52 /* 000036AA */
0000365A 7265 moveq.l D1, 0x65
0000365C 6665 bne +0x67 /* 000036C3 */
0000365E 7265 moveq.l D1, 0x65
00003660 6E63 bgt +0x65 /* 000036C5 */
00003662 6573 bcs +0x75 /* 000036D7 */
00003664 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00003666-0000366C
fn00003666:
00003666 4E56 0000 link A6, 0
0000366A 2F0C move.l -[A7], A4
// end alternate branch 00003666-0000366C
fn00003666: // (misaligned)
00003668 0000 2F0C ori.b D0, 0xC
0000366C 286E 0008 movea.l A4, [A6 + 0x8]
00003670 7005 moveq.l D0, 0x05
00003672 2880 move.l [A4], D0
00003674 7204 moveq.l D1, 0x04
00003676 2941 0004 move.l [A4 + 0x4], D1
0000367A 700A moveq.l D0, 0x0A
0000367C 2940 0008 move.l [A4 + 0x8], D0
00003680 297C 0000 00B4 000C move.l [A4 + 0xC], 0xB4
00003688 426C 0010 clr.w [A4 + 0x10]
0000368C 7000 moveq.l D0, 0x00
0000368E 2940 0012 move.l [A4 + 0x12], D0
00003692 2940 0016 move.l [A4 + 0x16], D0
00003696 2940 001A move.l [A4 + 0x1A], D0
0000369A 286E FFFC movea.l A4, [A6 - 0x4]
0000369E 4E5E unlink A6
000036A0 4E75 rts
000036A2 8C54 or.w D6, [A4]
000036A4 6170 bsr +0x72 /* 00003716 */
000036A6 6544 bcs +0x46 /* 000036EC */
000036A8 6566 bcs +0x68 /* 00003710 */
label000036AA:
000036AA 6175 bsr +0x77 /* 00003721 */
000036AC 6C74 bge +0x76 /* 00003722 */
000036AE 7300 moveq.l D1, 0x00
000036B0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000036B2-000036BA
fn000036B2:
000036B2 4E56 0000 link A6, 0
000036B6 48E7 0108 movem.l -[A7], D7,A4
// end alternate branch 000036B2-000036BA
fn000036B2: // (misaligned)
000036B4 0000 48E7 ori.b D0, 0xE7
000036B8 0108 btst A0, D0
000036BA 2E2E 0014 move.l D7, [A6 + 0x14]
000036BE 286E 0008 movea.l A4, [A6 + 0x8]
000036C2 18AE 000F move.b [A4], [A6 + 0xF]
label000036C3: // (misaligned)
label000036C5: // (misaligned)
000036C6 196E 0013 0001 move.b [A4 + 0x1], [A6 + 0x13]
000036CC 2007 move.l D0, D7
fn000036CE:
000036CE 4840 swap.w D0
000036D0 48C0 ext.l D0
000036D2 223C 0000 00FF move.l D1, 0xFF
label000036D7: // (misaligned)
000036D8 C280 and.l D1, D0
000036DA 1941 0002 move.b [A4 + 0x2], D1
000036DE 2007 move.l D0, D7
000036E0 E080 asr D0, 8
000036E2 223C 0000 00FF move.l D1, 0xFF
000036E8 C280 and.l D1, D0
000036EA 1941 0003 move.b [A4 + 0x3], D1
// begin alternate branch 000036EC-000036F4
label000036EC:
000036EC 0003 203C ori.b D3, 0x3C /* '<' */
000036F0 0000 00FF ori.b D0, 0xFF
// end alternate branch 000036EC-000036F4
label000036EC: // (misaligned)
000036EE 203C 0000 00FF move.l D0, 0xFF
000036F4 C087 and.l D0, D7
000036F6 1940 0004 move.b [A4 + 0x4], D0
000036FA 422C 0005 clr.b [A4 + 0x5]
000036FE 4CEE 1080 FFF8 movem.l A4,D7, [A6 - 0x8]
00003704 4E5E unlink A6
00003706 4E75 rts
00003708 8C54 or.w D6, [A4]
0000370A 6170 bsr +0x72 /* 0000377C */
0000370C 6542 bcs +0x44 /* 00003750 */
0000370E 7569 moveq.l D2, 0x69
label00003710:
00003710 6C64 bge +0x66 /* 00003776 */
00003712 436D 6400 chk.w D1, [A5 + 0x6400]
fn00003716:
00003716 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00003718-00003724
fn00003718:
00003718 4E56 0000 link A6, 0
0000371C 48E7 0018 movem.l -[A7], A3,A4
00003720 47ED F8BE lea.l A3, [A5 - 0x742]
// end alternate branch 00003718-00003724
fn00003718: // (misaligned)
0000371A 0000 48E7 ori.b D0, 0xE7
0000371E 0018 47ED ori.b [A0]+, 0xED
fn00003721: // (misaligned)
label00003722:
00003722 F8BE .extension 0x8BE // unimplemented
00003724 286E 0008 movea.l A4, [A6 + 0x8]
00003728 1014 move.b D0, [A4]
0000372A 0280 0000 000F andi.l D0, 0xF
00003730 2F00 move.l -[A7], D0
00003732 1014 move.b D0, [A4]
00003734 E888 lsr D0, 4
00003736 0280 0000 0007 andi.l D0, 0x7
0000373C 2F00 move.l -[A7], D0
0000373E 0814 0007 btst.b [A4], 0x7
00003742 56C0 sne D0
00003744 0240 0001 andi.w D0, 0x1
00003748 48C0 ext.l D0
0000374A 2F00 move.l -[A7], D0
0000374C 486D F4A0 pea.l [A5 - 0xB60]
label00003750:
00003750 4EBA 103E jsr [PC + 0x103E /* 00004790 */]
00003754 2014 move.l D0, [A4]
00003756 E088 lsr D0, 8
00003758 0280 0000 000F andi.l D0, 0xF
0000375E E540 asl D0.w, 2
00003760 2F33 0000 move.l -[A7], [A3 + D0.w]
00003764 2014 move.l D0, [A4]
00003766 E088 lsr D0, 8
00003768 0280 0000 000F andi.l D0, 0xF
0000376E 2F00 move.l -[A7], D0
00003770 082C 0005 0002 btst.b [A4 + 0x2], 0x5
label00003776:
00003776 56C0 sne D0
00003778 0240 0001 andi.w D0, 0x1
fn0000377C:
0000377C 48C0 ext.l D0
0000377E 2F00 move.l -[A7], D0
00003780 082C 0006 0002 btst.b [A4 + 0x2], 0x6
00003786 56C0 sne D0
00003788 0240 0001 andi.w D0, 0x1
0000378C 48C0 ext.l D0
0000378E 2F00 move.l -[A7], D0
00003790 082C 0007 0002 btst.b [A4 + 0x2], 0x7
00003796 56C0 sne D0
00003798 0240 0001 andi.w D0, 0x1
0000379C 48C0 ext.l D0
0000379E 2F00 move.l -[A7], D0
000037A0 7000 moveq.l D0, 0x00
000037A2 102C 0001 move.b D0, [A4 + 0x1]
000037A6 2F00 move.l -[A7], D0
000037A8 486D F4BE pea.l [A5 - 0xB42]
000037AC 4EBA 0FE2 jsr [PC + 0xFE2 /* 00004790 */]
000037B0 7000 moveq.l D0, 0x00
000037B2 102C 0007 move.b D0, [A4 + 0x7]
000037B6 2F00 move.l -[A7], D0
000037B8 7000 moveq.l D0, 0x00
000037BA 102C 0006 move.b D0, [A4 + 0x6]
000037BE 2F00 move.l -[A7], D0
000037C0 7000 moveq.l D0, 0x00
000037C2 102C 0005 move.b D0, [A4 + 0x5]
000037C6 2F00 move.l -[A7], D0
000037C8 7000 moveq.l D0, 0x00
000037CA 102C 0004 move.b D0, [A4 + 0x4]
000037CE 2F00 move.l -[A7], D0
000037D0 7000 moveq.l D0, 0x00
000037D2 102C 0003 move.b D0, [A4 + 0x3]
000037D6 2F00 move.l -[A7], D0
000037D8 486D F4EC pea.l [A5 - 0xB14]
000037DC 4EBA 0FB2 jsr [PC + 0xFB2 /* 00004790 */]
000037E0 7000 moveq.l D0, 0x00
000037E2 102C 0011 move.b D0, [A4 + 0x11]
000037E6 2F00 move.l -[A7], D0
000037E8 7000 moveq.l D0, 0x00
000037EA 102C 0010 move.b D0, [A4 + 0x10]
000037EE 2F00 move.l -[A7], D0
000037F0 7000 moveq.l D0, 0x00
000037F2 102C 000F move.b D0, [A4 + 0xF]
000037F6 2F00 move.l -[A7], D0
000037F8 7000 moveq.l D0, 0x00
000037FA 102C 000D move.b D0, [A4 + 0xD]
000037FE 2F00 move.l -[A7], D0
00003800 7000 moveq.l D0, 0x00
00003802 102C 000C move.b D0, [A4 + 0xC]
00003806 2F00 move.l -[A7], D0
00003808 486D F508 pea.l [A5 - 0xAF8]
0000380C 4EBA 0F82 jsr [PC + 0xF82 /* 00004790 */]
00003810 4CEE 1800 FFF8 movem.l A4,A3, [A6 - 0x8]
00003816 4E5E unlink A6
00003818 4E75 rts
0000381A 8A50 or.w D5, [A0]
0000381C 7269 moveq.l D1, 0x69
0000381E 6E74 bgt +0x76 /* 00003894 */
00003820 5365 subq.w -[A5], 1
00003822 6E73 bgt +0x75 /* 00003897 */
00003824 6500 0000 bcs +0x2 /* 00003826 */
// begin alternate branch 00003826-0000382E
label00003826:
00003826 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003828: // (misaligned)
0000382A 0000 2F0C ori.b D0, 0xC
// end alternate branch 00003826-0000382E
label00003826: // (misaligned)
fn00003828:
00003828 4E56 0000 link A6, 0
0000382C 2F0C move.l -[A7], A4
0000382E 286E 0008 movea.l A4, [A6 + 0x8]
00003832 2014 move.l D0, [A4]
00003834 E088 lsr D0, 8
00003836 0280 0000 000F andi.l D0, 0xF
0000383C 6500 00B4 bcs +0xB6 /* 000038F2 */
00003840 0C80 0000 000D cmpi.l D0, 0xD /* '\r' */
00003846 6200 00AA bhi +0xAC /* 000038F2 */
0000384A D080 add.l D0, D0
0000384C 303B 0806 move.w D0, [PC + D0 + 0x6]
00003850 4EFB 0000 jmp [PC + D0.w]
00003854 001E 00A0 ori.b [A6]+, 0xA0
00003858 00A0 0046 0054 ori.l -[A0], 0x460054 /* 'F\0T' */
0000385E 00A0 008C 0070 ori.l -[A0], 0x8C0070
00003864 007E 00A0 ori.w <<invalid special address>>, 0xA0
00003868 00A0 00A0 00A0 ori.l -[A0], 0xA000A0
0000386E 0062 082C ori.w -[A2], 0x82C
00003872 0007 0002 ori.b D7, 0x2
00003876 56C0 sne D0
00003878 4400 neg.b D0
0000387A 1B40 F90E move.b [A5 - 0x6F2], D0
0000387E 082C 0006 0002 btst.b [A4 + 0x2], 0x6
00003884 670E beq +0x10 /* 00003894 */
00003886 486D F528 pea.l [A5 - 0xAD8]
0000388A 4EBA E812 jsr [PC - 0x17EE /* 0000209E */]
0000388E 70DE moveq.l D0, 0xFFFFFFDE
00003890 584F addq.w A7, 4
00003892 6074 bra +0x76 /* 00003908 */
label00003894:
00003894 7000 moveq.l D0, 0x00
00003896 6070 bra +0x72 /* 00003908 */
label00003897: // (misaligned)
00003898 486D F536 pea.l [A5 - 0xACA]
0000389C 4EBA E800 jsr [PC - 0x1800 /* 0000209E */]
000038A0 70DC moveq.l D0, 0xFFFFFFDC
000038A2 584F addq.w A7, 4
000038A4 6062 bra +0x64 /* 00003908 */
000038A6 486D F552 pea.l [A5 - 0xAAE]
000038AA 4EBA E7F2 jsr [PC - 0x180E /* 0000209E */]
000038AE 70DC moveq.l D0, 0xFFFFFFDC
000038B0 584F addq.w A7, 4
000038B2 6054 bra +0x56 /* 00003908 */
000038B4 486D F564 pea.l [A5 - 0xA9C]
000038B8 4EBA E7E4 jsr [PC - 0x181C /* 0000209E */]
000038BC 70DC moveq.l D0, 0xFFFFFFDC
000038BE 584F addq.w A7, 4
000038C0 6046 bra +0x48 /* 00003908 */
000038C2 486D F570 pea.l [A5 - 0xA90]
000038C6 4EBA E7D6 jsr [PC - 0x182A /* 0000209E */]
000038CA 70D4 moveq.l D0, 0xFFFFFFD4
000038CC 584F addq.w A7, 4
000038CE 6038 bra +0x3A /* 00003908 */
000038D0 486D F58A pea.l [A5 - 0xA76]
000038D4 4EBA E7C8 jsr [PC - 0x1838 /* 0000209E */]
000038D8 70DC moveq.l D0, 0xFFFFFFDC
000038DA 584F addq.w A7, 4
000038DC 602A bra +0x2C /* 00003908 */
000038DE 4A2D F906 tst.b [A5 - 0x6FA]
000038E2 6704 beq +0x6 /* 000038E8 */
000038E4 70DC moveq.l D0, 0xFFFFFFDC
000038E6 6020 bra +0x22 /* 00003908 */
label000038E8:
000038E8 1B7C 0001 F906 move.b [A5 - 0x6FA], 0x1
000038EE 7001 moveq.l D0, 0x01
000038F0 6016 bra +0x18 /* 00003908 */
label000038F2:
000038F2 486D F5A2 pea.l [A5 - 0xA5E]
000038F6 4EBA 0E98 jsr [PC + 0xE98 /* 00004790 */]
000038FA 2F0C move.l -[A7], A4
000038FC 4EBA FE1A jsr [PC - 0x1E6 /* 00003718 */]
00003900 70DC moveq.l D0, 0xFFFFFFDC
00003902 504F addq.w A7, 8
00003904 6002 bra +0x4 /* 00003908 */
00003906 7000 moveq.l D0, 0x00
label00003908:
00003908 286E FFFC movea.l A4, [A6 - 0x4]
0000390C 4E5E unlink A6
0000390E 4E75 rts
00003910 8E54 or.w D7, [A4]
00003912 6170 bsr +0x72 /* 00003984 */
00003914 6543 bcs +0x45 /* 00003959 */
00003916 6865 bvc +0x67 /* 0000397D */
00003918 636B bls +0x6D /* 00003985 */
0000391A 5365 subq.w -[A5], 1
0000391C 6E73 bgt +0x75 /* 00003991 */
0000391E 6500 0000 bcs +0x2 /* 00003920 */
// begin alternate branch 00003920-00003926
label00003920:
00003920 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003922: // (misaligned)
00003924 FFCC .extension 0xFCC // unimplemented
// end alternate branch 00003920-00003926
label00003920: // (misaligned)
fn00003922:
00003922 4E56 FFCC link A6, -0x0034
00003926 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000392A 266E 0010 movea.l A3, [A6 + 0x10]
0000392E 49EE FFD8 lea.l A4, [A6 - 0x28]
00003932 7000 moveq.l D0, 0x00
00003934 2D40 FFD4 move.l [A6 - 0x2C], D0
00003938 242E 0020 move.l D2, [A6 + 0x20]
0000393C 2202 move.l D1, D2
0000393E C4FC mulu.w D2, 0xFFFFFFFFFFFFFFFF
00003940 003C 4841 ori.b ccr, 65
00003944 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
00003946 003C 4841 ori.b ccr, 65
0000394A 4241 clr.w D1
0000394C D481 add.l D2, D1
0000394E 2802 move.l D4, D2
00003950 D8B8 016A add.l D4, [0x0000016A /* Ticks */]
label00003954:
00003954 7E00 moveq.l D7, 0x00
label00003956:
00003956 558F subq.l A7, 2
00003958 3F3C 0001 move.w -[A7], 0x1
label00003959: // (misaligned)
0000395C A815 trap SCSIDispatch
0000395E 3C1F move.w D6, [A7]+
00003960 6700 00AA beq +0xAC /* 00003A0C */
00003964 558F subq.l A7, 2
00003966 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000396A A815 trap SCSIDispatch
0000396C 301F move.w D0, [A7]+
0000396E 48C0 ext.l D0
00003970 2F00 move.l -[A7], D0
00003972 48C6 ext.l D6
00003974 2F06 move.l -[A7], D6
00003976 486D F5BE pea.l [A5 - 0xA42]
0000397A 4EBA 0E14 jsr [PC + 0xE14 /* 00004790 */]
label0000397D: // (misaligned)
0000397E 4FEF 000C lea.l A7, [A7 + 0xC]
00003982 2007 move.l D0, D7
fn00003984:
00003984 5287 addq.l D7, 1
label00003985: // (misaligned)
00003986 7004 moveq.l D0, 0x04
00003988 B087 cmp.l D0, D7
0000398A 6ECA bgt -0x34 /* 00003956 */
0000398C 7E00 moveq.l D7, 0x00
0000398E 6068 bra +0x6A /* 000039F8 */
label00003990:
00003990 2007 move.l D0, D7
label00003991: // (misaligned)
00003992 5287 addq.l D7, 1
00003994 223C 0000 01FF move.l D1, 0x1FF
0000399A C280 and.l D1, D0
0000399C 660E bne +0x10 /* 000039AC */
0000399E 48C5 ext.l D5
000039A0 2F05 move.l -[A7], D5
000039A2 486D F5D0 pea.l [A5 - 0xA30]
000039A6 4EBA 0DE8 jsr [PC + 0xDE8 /* 00004790 */]
000039AA 504F addq.w A7, 8
label000039AC:
000039AC B8B8 016A cmp.l D4, [0x0000016A /* Ticks */]
000039B0 6508 bcs +0xA /* 000039BA */
000039B2 0C87 0004 0000 cmpi.l D7, 0x40000
000039B8 6D3E blt +0x40 /* 000039F8 */
label000039BA:
000039BA 2F07 move.l -[A7], D7
000039BC 48C5 ext.l D5
000039BE 2F05 move.l -[A7], D5
000039C0 486D F5DA pea.l [A5 - 0xA26]
000039C4 4EBA 0DCA jsr [PC + 0xDCA /* 00004790 */]
000039C8 558F subq.l A7, 2
000039CA 486E FFD0 pea.l [A6 - 0x30]
000039CE 486E FFD2 pea.l [A6 - 0x2E]
000039D2 7004 moveq.l D0, 0x04
000039D4 2F00 move.l -[A7], D0
000039D6 3F3C 0004 move.w -[A7], 0x4
000039DA A815 trap SCSIDispatch
000039DC 3C1F move.w D6, [A7]+
000039DE 4FEF 000C lea.l A7, [A7 + 0xC]
000039E2 670E beq +0x10 /* 000039F2 */
000039E4 48C6 ext.l D6
000039E6 2F06 move.l -[A7], D6
000039E8 486D F606 pea.l [A5 - 0x9FA]
000039EC 4EBA 0DA2 jsr [PC + 0xDA2 /* 00004790 */]
000039F0 504F addq.w A7, 8
label000039F2:
000039F2 70FF moveq.l D0, 0xFFFFFFFF
000039F4 6000 01DA bra +0x1DC /* 00003BD0 */
label000039F8:
000039F8 558F subq.l A7, 2
000039FA 3F3C 000A move.w -[A7], 0xA /* '\n' */
000039FE A815 trap SCSIDispatch
00003A00 3A1F move.w D5, [A7]+
00003A02 7040 moveq.l D0, 0x40
00003A04 C045 and.w D0, D5
00003A06 6688 bne -0x76 /* 00003990 */
00003A08 6000 FF4A bra -0xB4 /* 00003954 */
label00003A0C:
00003A0C 558F subq.l A7, 2
00003A0E 3F2D F47A move.w -[A7], [A5 - 0xB86]
00003A12 3F3C 0002 move.w -[A7], 0x2
00003A16 A815 trap SCSIDispatch
00003A18 3C1F move.w D6, [A7]+
00003A1A 6724 beq +0x26 /* 00003A40 */
00003A1C 558F subq.l A7, 2
00003A1E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003A22 A815 trap SCSIDispatch
00003A24 301F move.w D0, [A7]+
00003A26 48C0 ext.l D0
00003A28 2F00 move.l -[A7], D0
00003A2A 48C6 ext.l D6
00003A2C 2F06 move.l -[A7], D6
00003A2E 486D F618 pea.l [A5 - 0x9E8]
00003A32 4EBA 0D5C jsr [PC + 0xD5C /* 00004790 */]
00003A36 70FE moveq.l D0, 0xFFFFFFFE
00003A38 4FEF 000C lea.l A7, [A7 + 0xC]
00003A3C 6000 0192 bra +0x194 /* 00003BD0 */
label00003A40:
00003A40 558F subq.l A7, 2
00003A42 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003A46 3F2E 000E move.w -[A7], [A6 + 0xE]
00003A4A 3F3C 0003 move.w -[A7], 0x3
00003A4E A815 trap SCSIDispatch
00003A50 3C1F move.w D6, [A7]+
00003A52 6728 beq +0x2A /* 00003A7C */
00003A54 558F subq.l A7, 2
00003A56 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003A5A A815 trap SCSIDispatch
00003A5C 301F move.w D0, [A7]+
00003A5E 48C0 ext.l D0
00003A60 2F00 move.l -[A7], D0
00003A62 48C6 ext.l D6
00003A64 2F06 move.l -[A7], D6
00003A66 486D F630 pea.l [A5 - 0x9D0]
00003A6A 4EBA 0D24 jsr [PC + 0xD24 /* 00004790 */]
00003A6E 70FD moveq.l D0, 0xFFFFFFFD
00003A70 2D40 FFD4 move.l [A6 - 0x2C], D0
00003A74 4FEF 000C lea.l A7, [A7 + 0xC]
00003A78 6000 00F4 bra +0xF6 /* 00003B6E */
label00003A7C:
00003A7C 7003 moveq.l D0, 0x03
00003A7E C0AE 001C and.l D0, [A6 + 0x1C]
00003A82 6700 00EA beq +0xEC /* 00003B6E */
00003A86 206E 0018 movea.l A0, [A6 + 0x18]
00003A8A 7000 moveq.l D0, 0x00
00003A8C 2080 move.l [A0], D0
00003A8E 222E 0014 move.l D1, [A6 + 0x14]
00003A92 B2AD F8FE cmp.l D1, [A5 - 0x702]
00003A96 6E20 bgt +0x22 /* 00003AB8 */
00003A98 38BC 0001 move.w [A4], 0x1
00003A9C 294B 0002 move.l [A4 + 0x2], A3
00003AA0 296E 0014 0006 move.l [A4 + 0x6], [A6 + 0x14]
00003AA6 397C 0007 000A move.w [A4 + 0xA], 0x7
00003AAC 7000 moveq.l D0, 0x00
00003AAE 2940 000C move.l [A4 + 0xC], D0
00003AB2 2940 0010 move.l [A4 + 0x10], D0
00003AB6 603A bra +0x3C /* 00003AF2 */
label00003AB8:
00003AB8 38BC 0001 move.w [A4], 0x1
00003ABC 294B 0002 move.l [A4 + 0x2], A3
00003AC0 296D F8FE 0006 move.l [A4 + 0x6], [A5 - 0x702]
00003AC6 397C 0005 000A move.w [A4 + 0xA], 0x5
00003ACC 70F6 moveq.l D0, 0xFFFFFFF6
00003ACE 2940 000C move.l [A4 + 0xC], D0
00003AD2 202E 0014 move.l D0, [A6 + 0x14]
00003AD6 222D F8FE move.l D1, [A5 - 0x702]
00003ADA 4EBA 1476 jsr [PC + 0x1476 /* 00004F52 */]
00003ADE 2940 0010 move.l [A4 + 0x10], D0
00003AE2 397C 0007 0014 move.w [A4 + 0x14], 0x7
00003AE8 7000 moveq.l D0, 0x00
00003AEA 2940 0016 move.l [A4 + 0x16], D0
00003AEE 2940 001A move.l [A4 + 0x1A], D0
label00003AF2:
00003AF2 202E 001C move.l D0, [A6 + 0x1C]
00003AF6 0800 0000 btst.b D0, 0x0
00003AFA 6734 beq +0x36 /* 00003B30 */
00003AFC 558F subq.l A7, 2
00003AFE 2F0C move.l -[A7], A4
00003B00 3F3C 0005 move.w -[A7], 0x5
00003B04 A815 trap SCSIDispatch
00003B06 3C1F move.w D6, [A7]+
00003B08 6758 beq +0x5A /* 00003B62 */
00003B0A 558F subq.l A7, 2
00003B0C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003B10 A815 trap SCSIDispatch
00003B12 301F move.w D0, [A7]+
00003B14 48C0 ext.l D0
00003B16 2F00 move.l -[A7], D0
00003B18 48C6 ext.l D6
00003B1A 2F06 move.l -[A7], D6
00003B1C 486D F646 pea.l [A5 - 0x9BA]
00003B20 4EBA 0C6E jsr [PC + 0xC6E /* 00004790 */]
00003B24 70FC moveq.l D0, 0xFFFFFFFC
00003B26 2D40 FFD4 move.l [A6 - 0x2C], D0
00003B2A 4FEF 000C lea.l A7, [A7 + 0xC]
00003B2E 6032 bra +0x34 /* 00003B62 */
label00003B30:
00003B30 558F subq.l A7, 2
00003B32 2F0C move.l -[A7], A4
00003B34 3F3C 0006 move.w -[A7], 0x6
00003B38 A815 trap SCSIDispatch
00003B3A 3C1F move.w D6, [A7]+
00003B3C 6724 beq +0x26 /* 00003B62 */
00003B3E 558F subq.l A7, 2
00003B40 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003B44 A815 trap SCSIDispatch
00003B46 301F move.w D0, [A7]+
00003B48 48C0 ext.l D0
00003B4A 2F00 move.l -[A7], D0
00003B4C 48C6 ext.l D6
00003B4E 2F06 move.l -[A7], D6
00003B50 486D F65C pea.l [A5 - 0x9A4]
00003B54 4EBA 0C3A jsr [PC + 0xC3A /* 00004790 */]
00003B58 70FC moveq.l D0, 0xFFFFFFFC
00003B5A 2D40 FFD4 move.l [A6 - 0x2C], D0
00003B5E 4FEF 000C lea.l A7, [A7 + 0xC]
label00003B62:
00003B62 202C 0002 move.l D0, [A4 + 0x2]
00003B66 908B sub.l D0, A3
00003B68 206E 0018 movea.l A0, [A6 + 0x18]
00003B6C 2080 move.l [A0], D0
label00003B6E:
00003B6E 2004 move.l D0, D4
00003B70 90B8 016A sub.l D0, [0x0000016A /* Ticks */]
00003B74 2D40 FFCC move.l [A6 - 0x34], D0
00003B78 723C moveq.l D1, 0x3C
00003B7A B280 cmp.l D1, D0
00003B7C 6306 bls +0x8 /* 00003B84 */
00003B7E 703C moveq.l D0, 0x3C
00003B80 2D40 FFCC move.l [A6 - 0x34], D0
label00003B84:
00003B84 558F subq.l A7, 2
00003B86 486E FFD0 pea.l [A6 - 0x30]
00003B8A 486E FFD2 pea.l [A6 - 0x2E]
00003B8E 2F2E FFCC move.l -[A7], [A6 - 0x34]
00003B92 3F3C 0004 move.w -[A7], 0x4
00003B96 A815 trap SCSIDispatch
00003B98 3C1F move.w D6, [A7]+
00003B9A 672E beq +0x30 /* 00003BCA */
00003B9C 558F subq.l A7, 2
00003B9E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003BA2 A815 trap SCSIDispatch
00003BA4 301F move.w D0, [A7]+
00003BA6 48C0 ext.l D0
00003BA8 2F00 move.l -[A7], D0
00003BAA 48C6 ext.l D6
00003BAC 2F06 move.l -[A7], D6
00003BAE 486D F674 pea.l [A5 - 0x98C]
00003BB2 4EBA 0BDC jsr [PC + 0xBDC /* 00004790 */]
00003BB6 4AAE FFD4 tst.l [A6 - 0x2C]
00003BBA 6706 beq +0x8 /* 00003BC2 */
00003BBC 202E FFD4 move.l D0, [A6 - 0x2C]
00003BC0 6002 bra +0x4 /* 00003BC4 */
label00003BC2:
00003BC2 70FB moveq.l D0, 0xFFFFFFFB
label00003BC4:
00003BC4 4FEF 000C lea.l A7, [A7 + 0xC]
00003BC8 6006 bra +0x8 /* 00003BD0 */
label00003BCA:
00003BCA 302E FFD0 move.w D0, [A6 - 0x30]
00003BCE 48C0 ext.l D0
label00003BD0:
00003BD0 4CEE 18F0 FFB4 movem.l A4,A3,D7,D6,D5,D4, [A6 - 0x4C]
00003BD6 4E5E unlink A6
00003BD8 4E75 rts
00003BDA 8753 or.w [A3], D3
00003BDC 6373 bls +0x75 /* 00003C51 */
00003BDE 6943 bvs +0x45 /* 00003C23 */
00003BE0 6D64 blt +0x66 /* 00003C46 */
00003BE2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00003BE4-00003BE8
fn00003BE4:
00003BE4 4E56 FFA4 link A6, -0x005C
// end alternate branch 00003BE4-00003BE8
fn00003BE4: // (misaligned)
00003BE6 FFA4 .extension 0xFA4 // unimplemented
00003BE8 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00003BEC 282E 0014 move.l D4, [A6 + 0x14]
00003BF0 2A2E 000C move.l D5, [A6 + 0xC]
00003BF4 47EE FFA4 lea.l A3, [A6 - 0x5C]
label00003BF8:
00003BF8 4247 clr.w D7
00003BFA 422D F906 clr.b [A5 - 0x6FA]
00003BFE 2F2E 0020 move.l -[A7], [A6 + 0x20]
00003C02 2F2E 001C move.l -[A7], [A6 + 0x1C]
00003C06 2F2E 0018 move.l -[A7], [A6 + 0x18]
00003C0A 2F04 move.l -[A7], D4
00003C0C 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003C10 2F05 move.l -[A7], D5
00003C12 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C16 4EBA FD0A jsr [PC - 0x2F6 /* 00003922 */]
00003C1A 2C00 move.l D6, D0
00003C1C 4FEF 001C lea.l A7, [A7 + 0x1C]
00003C20 6700 00B8 beq +0xBA /* 00003CDA */
label00003C23: // (misaligned)
00003C24 422E FFFF clr.b [A6 - 0x1]
00003C28 1D7C 0012 FFFE move.b [A6 - 0x2], 0x12
00003C2E 426E FFFC clr.w [A6 - 0x4]
00003C32 422E FFFB clr.b [A6 - 0x5]
00003C36 1D7C 0003 FFFA move.b [A6 - 0x6], 0x3
00003C3C 286E 0008 movea.l A4, [A6 + 0x8]
00003C40 2F06 move.l -[A7], D6
00003C42 7000 moveq.l D0, 0x00
00003C44 102C 0005 move.b D0, [A4 + 0x5]
// begin alternate branch 00003C46-00003C4A
label00003C46:
00003C46 0005 2F00 ori.b D5, 0x0
// end alternate branch 00003C46-00003C4A
label00003C46: // (misaligned)
00003C48 2F00 move.l -[A7], D0
00003C4A 7000 moveq.l D0, 0x00
00003C4C 102C 0004 move.b D0, [A4 + 0x4]
00003C50 2F00 move.l -[A7], D0
label00003C51: // (misaligned)
00003C52 7000 moveq.l D0, 0x00
00003C54 102C 0003 move.b D0, [A4 + 0x3]
00003C58 2F00 move.l -[A7], D0
00003C5A 7000 moveq.l D0, 0x00
00003C5C 102C 0002 move.b D0, [A4 + 0x2]
00003C60 2F00 move.l -[A7], D0
00003C62 7000 moveq.l D0, 0x00
00003C64 102C 0001 move.b D0, [A4 + 0x1]
00003C68 2F00 move.l -[A7], D0
00003C6A 7000 moveq.l D0, 0x00
00003C6C 1014 move.b D0, [A4]
00003C6E 2F00 move.l -[A7], D0
00003C70 486D F68E pea.l [A5 - 0x972]
00003C74 4EBA 0B1A jsr [PC + 0xB1A /* 00004790 */]
00003C78 2F2D F47C move.l -[A7], [A5 - 0xB84]
00003C7C 7001 moveq.l D0, 0x01
00003C7E 2F00 move.l -[A7], D0
00003C80 486E FFE4 pea.l [A6 - 0x1C]
00003C84 7212 moveq.l D1, 0x12
00003C86 2F01 move.l -[A7], D1
00003C88 486E FFE8 pea.l [A6 - 0x18]
00003C8C 7006 moveq.l D0, 0x06
00003C8E 2F00 move.l -[A7], D0
00003C90 486E FFFA pea.l [A6 - 0x6]
00003C94 4EBA FC8C jsr [PC - 0x374 /* 00003922 */]
00003C98 2C00 move.l D6, D0
00003C9A 4FEF 003C lea.l A7, [A7 + 0x3C]
00003C9E 672E beq +0x30 /* 00003CCE */
00003CA0 206E 0008 movea.l A0, [A6 + 0x8]
00003CA4 7000 moveq.l D0, 0x00
00003CA6 1010 move.b D0, [A0]
00003CA8 2F00 move.l -[A7], D0
00003CAA 486D F6B6 pea.l [A5 - 0x94A]
00003CAE 486B 0001 pea.l [A3 + 0x1]
00003CB2 4EAD 01A2 jsr [A5 + 0x1A2]
00003CB6 486B 0001 pea.l [A3 + 0x1]
00003CBA 4EAD 018A jsr [A5 + 0x18A]
00003CBE 1680 move.b [A3], D0
00003CC0 2F0B move.l -[A7], A3
00003CC2 4EBA E3DA jsr [PC - 0x1C26 /* 0000209E */]
00003CC6 7EDC moveq.l D7, 0xFFFFFFDC
00003CC8 4FEF 0014 lea.l A7, [A7 + 0x14]
00003CCC 600C bra +0xE /* 00003CDA */
label00003CCE:
00003CCE 486E FFE8 pea.l [A6 - 0x18]
00003CD2 4EBA FB54 jsr [PC - 0x4AC /* 00003828 */]
00003CD6 3E00 move.w D7, D0
00003CD8 584F addq.w A7, 4
label00003CDA:
00003CDA 0C47 0001 cmpi.w D7, 0x1
00003CDE 6700 FF18 beq -0xE6 /* 00003BF8 */
00003CE2 3007 move.w D0, D7
00003CE4 4CEE 18F0 FF8C movem.l A4,A3,D7,D6,D5,D4, [A6 - 0x74]
00003CEA 4E5E unlink A6
00003CEC 4E75 rts
00003CEE 8754 or.w [A4], D3
00003CF0 6170 bsr +0x72 /* 00003D62 */
00003CF2 6543 bcs +0x45 /* 00003D37 */
00003CF4 6D64 blt +0x66 /* 00003D5A */
00003CF6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00003CF8-00003CFC
fn00003CF8:
00003CF8 4E56 FEA8 link A6, -0x0158
// end alternate branch 00003CF8-00003CFC
fn00003CF8: // (misaligned)
00003CFA FEA8 .extension 0xEA8 // unimplemented
00003CFC 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00003D00 1A2E 000F move.b D5, [A6 + 0xF]
00003D04 47EE FEE2 lea.l A3, [A6 - 0x11E]
00003D08 49EE FF00 lea.l A4, [A6 - 0x100]
00003D0C 202D F902 move.l D0, [A5 - 0x6FE]
00003D10 0800 0000 btst.b D0, 0x0
00003D14 6710 beq +0x12 /* 00003D26 */
00003D16 486D F6E2 pea.l [A5 - 0x91E]
00003D1A 4EBA E382 jsr [PC - 0x1C7E /* 0000209E */]
00003D1E 70D1 moveq.l D0, 0xFFFFFFD1
00003D20 584F addq.w A7, 4
00003D22 6000 04AA bra +0x4AC /* 000041CE */
label00003D26:
00003D26 422D F910 clr.b [A5 - 0x6F0]
00003D2A 422D F90E clr.b [A5 - 0x6F2]
00003D2E 1B6E 000B F90C move.b [A5 - 0x6F4], [A6 + 0xB]
00003D34 1B45 F90A move.b [A5 - 0x6F6], D5
label00003D37: // (misaligned)
00003D38 2B7C 0000 0200 F8FE move.l [A5 - 0x702], 0x200
label00003D40:
00003D40 022E 00F0 FEAE andi.b [A6 - 0x152], 0xF0
00003D46 002E 0002 FEAE ori.b [A6 - 0x152], 0x2
00003D4C 7012 moveq.l D0, 0x12
00003D4E 2F00 move.l -[A7], D0
00003D50 7200 moveq.l D1, 0x00
00003D52 2F01 move.l -[A7], D1
00003D54 486E FEAC pea.l [A6 - 0x154]
00003D58 4EAD 017A jsr [A5 + 0x17A]
// begin alternate branch 00003D5A-00003D5E
label00003D5A:
00003D5A 017A 7000 bchg [PC + 0x7000 /* 0000AD5C */], D0
// end alternate branch 00003D5A-00003D5E
label00003D5A: // (misaligned)
00003D5C 7000 moveq.l D0, 0x00
00003D5E 2F00 move.l -[A7], D0
00003D60 2F00 move.l -[A7], D0
fn00003D62:
00003D62 2F00 move.l -[A7], D0
00003D64 2F0B move.l -[A7], A3
00003D66 4EBA F94A jsr [PC - 0x6B6 /* 000036B2 */]
00003D6A 2F2D F47C move.l -[A7], [A5 - 0xB84]
00003D6E 7000 moveq.l D0, 0x00
00003D70 2F00 move.l -[A7], D0
00003D72 486E FEA8 pea.l [A6 - 0x158]
00003D76 2F00 move.l -[A7], D0
00003D78 2F00 move.l -[A7], D0
00003D7A 7206 moveq.l D1, 0x06
00003D7C 2F01 move.l -[A7], D1
00003D7E 2F0B move.l -[A7], A3
00003D80 4EBA FBA0 jsr [PC - 0x460 /* 00003922 */]
00003D84 2E00 move.l D7, D0
00003D86 4FEF 0038 lea.l A7, [A7 + 0x38]
00003D8A 6700 0124 beq +0x126 /* 00003EB0 */
00003D8E 4A87 tst.l D7
00003D90 6C16 bge +0x18 /* 00003DA8 */
00003D92 486D F706 pea.l [A5 - 0x8FA]
00003D96 4EBA E2C8 jsr [PC - 0x1D38 /* 00002060 */]
00003D9A 4A00 tst.b D0
00003D9C 584F addq.w A7, 4
00003D9E 6700 0100 beq +0x102 /* 00003EA0 */
00003DA2 70C8 moveq.l D0, 0xFFFFFFC8
00003DA4 6000 0428 bra +0x42A /* 000041CE */
label00003DA8:
00003DA8 7012 moveq.l D0, 0x12
00003DAA 2F00 move.l -[A7], D0
00003DAC 7200 moveq.l D1, 0x00
00003DAE 2F01 move.l -[A7], D1
00003DB0 7003 moveq.l D0, 0x03
00003DB2 2F00 move.l -[A7], D0
00003DB4 2F0B move.l -[A7], A3
00003DB6 4EBA F8FA jsr [PC - 0x706 /* 000036B2 */]
00003DBA 2F2D F47C move.l -[A7], [A5 - 0xB84]
00003DBE 7001 moveq.l D0, 0x01
00003DC0 2F00 move.l -[A7], D0
00003DC2 486E FEA8 pea.l [A6 - 0x158]
00003DC6 7212 moveq.l D1, 0x12
00003DC8 2F01 move.l -[A7], D1
00003DCA 486E FEAC pea.l [A6 - 0x154]
00003DCE 7006 moveq.l D0, 0x06
00003DD0 2F00 move.l -[A7], D0
00003DD2 2F0B move.l -[A7], A3
00003DD4 4EBA FB4C jsr [PC - 0x4B4 /* 00003922 */]
00003DD8 4A80 tst.l D0
00003DDA 4FEF 002C lea.l A7, [A7 + 0x2C]
00003DDE 6712 beq +0x14 /* 00003DF2 */
00003DE0 486D F722 pea.l [A5 - 0x8DE]
00003DE4 4EBA E27A jsr [PC - 0x1D86 /* 00002060 */]
00003DE8 4A00 tst.b D0
00003DEA 584F addq.w A7, 4
00003DEC 70C8 moveq.l D0, 0xFFFFFFC8
00003DEE 6000 03DE bra +0x3E0 /* 000041CE */
label00003DF2:
00003DF2 486E FEAC pea.l [A6 - 0x154]
00003DF6 4EBA F920 jsr [PC - 0x6E0 /* 00003718 */]
00003DFA 102E FEAC move.b D0, [A6 - 0x154]
00003DFE E888 lsr D0, 4
00003E00 0280 0000 0007 andi.l D0, 0x7
00003E06 7207 moveq.l D1, 0x07
00003E08 B280 cmp.l D1, D0
00003E0A 584F addq.w A7, 4
00003E0C 660C bne +0xE /* 00003E1A */
00003E0E 102E FEAC move.b D0, [A6 - 0x154]
00003E12 0280 0000 000F andi.l D0, 0xF
00003E18 6710 beq +0x12 /* 00003E2A */
label00003E1A:
00003E1A 486D F73E pea.l [A5 - 0x8C2]
00003E1E 4EBA E27E jsr [PC - 0x1D82 /* 0000209E */]
00003E22 70C8 moveq.l D0, 0xFFFFFFC8
00003E24 584F addq.w A7, 4
00003E26 6000 03A6 bra +0x3A8 /* 000041CE */
label00003E2A:
00003E2A 202E FEAC move.l D0, [A6 - 0x154]
00003E2E E088 lsr D0, 8
00003E30 0280 0000 000F andi.l D0, 0xF
00003E36 6768 beq +0x6A /* 00003EA0 */
00003E38 5580 subq.l D0, 2
00003E3A 671C beq +0x1E /* 00003E58 */
00003E3C 5780 subq.l D0, 3
00003E3E 6706 beq +0x8 /* 00003E46 */
00003E40 5380 subq.l D0, 1
00003E42 675C beq +0x5E /* 00003EA0 */
00003E44 6026 bra +0x28 /* 00003E6C */
label00003E46:
00003E46 486D F75A pea.l [A5 - 0x8A6]
00003E4A 4EBA 0944 jsr [PC + 0x944 /* 00004790 */]
00003E4E 022E 00F0 FEAE andi.b [A6 - 0x152], 0xF0
00003E54 584F addq.w A7, 4
00003E56 6048 bra +0x4A /* 00003EA0 */
label00003E58:
00003E58 486D F766 pea.l [A5 - 0x89A]
00003E5C 4EBA E202 jsr [PC - 0x1DFE /* 00002060 */]
00003E60 4A00 tst.b D0
00003E62 584F addq.w A7, 4
00003E64 673A beq +0x3C /* 00003EA0 */
00003E66 70BF moveq.l D0, 0xFFFFFFBF
00003E68 6000 0364 bra +0x366 /* 000041CE */
label00003E6C:
00003E6C 202E FEAC move.l D0, [A6 - 0x154]
00003E70 E088 lsr D0, 8
00003E72 0280 0000 000F andi.l D0, 0xF
00003E78 2F00 move.l -[A7], D0
00003E7A 486D F778 pea.l [A5 - 0x888]
00003E7E 486C 0001 pea.l [A4 + 0x1]
00003E82 4EAD 01A2 jsr [A5 + 0x1A2]
00003E86 486C 0001 pea.l [A4 + 0x1]
00003E8A 4EAD 018A jsr [A5 + 0x18A]
00003E8E 1880 move.b [A4], D0
00003E90 2F0C move.l -[A7], A4
00003E92 4EBA E20A jsr [PC - 0x1DF6 /* 0000209E */]
00003E96 70C8 moveq.l D0, 0xFFFFFFC8
00003E98 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E9C 6000 0330 bra +0x332 /* 000041CE */
label00003EA0:
00003EA0 202E FEAC move.l D0, [A6 - 0x154]
00003EA4 E088 lsr D0, 8
00003EA6 0280 0000 000F andi.l D0, 0xF
00003EAC 6600 FE92 bne -0x16C /* 00003D40 */
label00003EB0:
00003EB0 7024 moveq.l D0, 0x24
00003EB2 2F00 move.l -[A7], D0
00003EB4 7200 moveq.l D1, 0x00
00003EB6 2F01 move.l -[A7], D1
00003EB8 7012 moveq.l D0, 0x12
00003EBA 2F00 move.l -[A7], D0
00003EBC 2F0B move.l -[A7], A3
00003EBE 4EBA F7F2 jsr [PC - 0x80E /* 000036B2 */]
00003EC2 2F2D F47C move.l -[A7], [A5 - 0xB84]
00003EC6 7001 moveq.l D0, 0x01
00003EC8 2F00 move.l -[A7], D0
00003ECA 486E FEA8 pea.l [A6 - 0x158]
00003ECE 7224 moveq.l D1, 0x24
00003ED0 2F01 move.l -[A7], D1
00003ED2 486E FEBE pea.l [A6 - 0x142]
00003ED6 7006 moveq.l D0, 0x06
00003ED8 2F00 move.l -[A7], D0
00003EDA 2F0B move.l -[A7], A3
00003EDC 4EBA FD06 jsr [PC - 0x2FA /* 00003BE4 */]
00003EE0 4A40 tst.w D0
00003EE2 4FEF 002C lea.l A7, [A7 + 0x2C]
00003EE6 6608 bne +0xA /* 00003EF0 */
00003EE8 7024 moveq.l D0, 0x24
00003EEA B0AE FEA8 cmp.l D0, [A6 - 0x158]
00003EEE 6710 beq +0x12 /* 00003F00 */
label00003EF0:
00003EF0 486D F794 pea.l [A5 - 0x86C]
00003EF4 4EBA E1A8 jsr [PC - 0x1E58 /* 0000209E */]
00003EF8 70C8 moveq.l D0, 0xFFFFFFC8
00003EFA 584F addq.w A7, 4
00003EFC 6000 02D0 bra +0x2D2 /* 000041CE */
label00003F00:
00003F00 7000 moveq.l D0, 0x00
00003F02 102E FEBE move.b D0, [A6 - 0x142]
00003F06 0C40 0001 cmpi.w D0, 0x1
00003F0A 673E beq +0x40 /* 00003F4A */
00003F0C 082E 0007 FEBF btst.b [A6 - 0x141], 0x7
00003F12 56C0 sne D0
00003F14 0240 0001 andi.w D0, 0x1
00003F18 48C0 ext.l D0
00003F1A 7201 moveq.l D1, 0x01
00003F1C B280 cmp.l D1, D0
00003F1E 672A beq +0x2C /* 00003F4A */
00003F20 2F2D F478 move.l -[A7], [A5 - 0xB88]
00003F24 486D F7B2 pea.l [A5 - 0x84E]
00003F28 486C 0001 pea.l [A4 + 0x1]
00003F2C 4EAD 01A2 jsr [A5 + 0x1A2]
00003F30 486C 0001 pea.l [A4 + 0x1]
00003F34 4EAD 018A jsr [A5 + 0x18A]
00003F38 1880 move.b [A4], D0
00003F3A 2F0C move.l -[A7], A4
00003F3C 4EBA E160 jsr [PC - 0x1EA0 /* 0000209E */]
00003F40 70C8 moveq.l D0, 0xFFFFFFC8
00003F42 4FEF 0014 lea.l A7, [A7 + 0x14]
00003F46 6000 0286 bra +0x288 /* 000041CE */
label00003F4A:
00003F4A 7000 moveq.l D0, 0x00
00003F4C 2F00 move.l -[A7], D0
00003F4E 2F00 move.l -[A7], D0
00003F50 7205 moveq.l D1, 0x05
00003F52 2F01 move.l -[A7], D1
00003F54 2F0B move.l -[A7], A3
00003F56 4EBA F75A jsr [PC - 0x8A6 /* 000036B2 */]
00003F5A 2F2D F47C move.l -[A7], [A5 - 0xB84]
00003F5E 7001 moveq.l D0, 0x01
00003F60 2F00 move.l -[A7], D0
00003F62 486E FEA8 pea.l [A6 - 0x158]
00003F66 7206 moveq.l D1, 0x06
00003F68 2F01 move.l -[A7], D1
00003F6A 486E FEE8 pea.l [A6 - 0x118]
00003F6E 2F01 move.l -[A7], D1
00003F70 2F0B move.l -[A7], A3
00003F72 4EBA FC70 jsr [PC - 0x390 /* 00003BE4 */]
00003F76 4A40 tst.w D0
00003F78 4FEF 002C lea.l A7, [A7 + 0x2C]
00003F7C 6608 bne +0xA /* 00003F86 */
00003F7E 7006 moveq.l D0, 0x06
00003F80 B0AE FEA8 cmp.l D0, [A6 - 0x158]
00003F84 6718 beq +0x1A /* 00003F9E */
label00003F86:
00003F86 486D F7CC pea.l [A5 - 0x834]
00003F8A 4EBA 0804 jsr [PC + 0x804 /* 00004790 */]
00003F8E 2E3C 0000 0200 move.l D7, 0x200
00003F94 2C3C 0000 0200 move.l D6, 0x200
00003F9A 584F addq.w A7, 4
00003F9C 6030 bra +0x32 /* 00003FCE */
label00003F9E:
00003F9E 7000 moveq.l D0, 0x00
00003FA0 102E FEEC move.b D0, [A6 - 0x114]
00003FA4 E188 lsl D0, 8
00003FA6 7200 moveq.l D1, 0x00
00003FA8 122E FEED move.b D1, [A6 - 0x113]
00003FAC 2C01 move.l D6, D1
00003FAE 8C80 or.l D6, D0
00003FB0 7000 moveq.l D0, 0x00
00003FB2 102E FEE9 move.b D0, [A6 - 0x117]
00003FB6 4840 swap.w D0
00003FB8 4240 clr.w D0
00003FBA 7200 moveq.l D1, 0x00
00003FBC 122E FEEA move.b D1, [A6 - 0x116]
00003FC0 E189 lsl D1, 8
00003FC2 8280 or.l D1, D0
00003FC4 7000 moveq.l D0, 0x00
00003FC6 102E FEEB move.b D0, [A6 - 0x115]
00003FCA 2E00 move.l D7, D0
00003FCC 8E81 or.l D7, D1
label00003FCE:
00003FCE 1D7C 001A FEEE move.b [A6 - 0x112], 0x1A
00003FD4 422E FEF3 clr.b [A6 - 0x10D]
00003FD8 426E FEF0 clr.w [A6 - 0x110]
00003FDC 422E FEEF clr.b [A6 - 0x111]
00003FE0 1D7C 000C FEF2 move.b [A6 - 0x10E], 0xC
00003FE6 2F2D F47C move.l -[A7], [A5 - 0xB84]
00003FEA 7001 moveq.l D0, 0x01
00003FEC 2F00 move.l -[A7], D0
00003FEE 486E FEA8 pea.l [A6 - 0x158]
00003FF2 720C moveq.l D1, 0x0C
00003FF4 2F01 move.l -[A7], D1
00003FF6 486E FEF4 pea.l [A6 - 0x10C]
00003FFA 7006 moveq.l D0, 0x06
00003FFC 2F00 move.l -[A7], D0
00003FFE 486E FEEE pea.l [A6 - 0x112]
00004002 4EBA FBE0 jsr [PC - 0x420 /* 00003BE4 */]
00004006 4A40 tst.w D0
00004008 4FEF 001C lea.l A7, [A7 + 0x1C]
0000400C 6716 beq +0x18 /* 00004024 */
0000400E 4A2D F912 tst.b [A5 - 0x6EE]
00004012 670A beq +0xC /* 0000401E */
00004014 486D F7E2 pea.l [A5 - 0x81E]
00004018 4EBA 0776 jsr [PC + 0x776 /* 00004790 */]
0000401C 584F addq.w A7, 4
label0000401E:
0000401E 70C8 moveq.l D0, 0xFFFFFFC8
00004020 6000 01AC bra +0x1AE /* 000041CE */
label00004024:
00004024 4A05 tst.b D5
00004026 6616 bne +0x18 /* 0000403E */
00004028 4A2E FEF6 tst.b [A6 - 0x10A]
0000402C 6C10 bge +0x12 /* 0000403E */
0000402E 486D F7FE pea.l [A5 - 0x802]
00004032 4EBA E06A jsr [PC - 0x1F96 /* 0000209E */]
00004036 70D4 moveq.l D0, 0xFFFFFFD4
00004038 584F addq.w A7, 4
0000403A 6000 0192 bra +0x194 /* 000041CE */
label0000403E:
0000403E 7000 moveq.l D0, 0x00
00004040 102E FEFD move.b D0, [A6 - 0x103]
00004044 4840 swap.w D0
00004046 4240 clr.w D0
00004048 7200 moveq.l D1, 0x00
0000404A 122E FEFE move.b D1, [A6 - 0x102]
0000404E E189 lsl D1, 8
00004050 8280 or.l D1, D0
00004052 7000 moveq.l D0, 0x00
00004054 102E FEFF move.b D0, [A6 - 0x101]
00004058 8081 or.l D0, D1
0000405A 2B40 F8FE move.l [A5 - 0x702], D0
0000405E 6706 beq +0x8 /* 00004066 */
00004060 4A2D F488 tst.b [A5 - 0xB78]
00004064 6748 beq +0x4A /* 000040AE */
label00004066:
00004066 BCAD F46A cmp.l D6, [A5 - 0xB96]
0000406A 6E06 bgt +0x8 /* 00004072 */
0000406C BEAD F46A cmp.l D7, [A5 - 0xB96]
00004070 6C2E bge +0x30 /* 000040A0 */
label00004072:
00004072 2F07 move.l -[A7], D7
00004074 2F06 move.l -[A7], D6
00004076 2F2D F46A move.l -[A7], [A5 - 0xB96]
0000407A 486D F818 pea.l [A5 - 0x7E8]
0000407E 486C 0001 pea.l [A4 + 0x1]
00004082 4EAD 01A2 jsr [A5 + 0x1A2]
00004086 486C 0001 pea.l [A4 + 0x1]
0000408A 4EAD 018A jsr [A5 + 0x18A]
0000408E 1880 move.b [A4], D0
00004090 2F0C move.l -[A7], A4
00004092 4EBA E00A jsr [PC - 0x1FF6 /* 0000209E */]
00004096 70C8 moveq.l D0, 0xFFFFFFC8
00004098 4FEF 001C lea.l A7, [A7 + 0x1C]
0000409C 6000 0130 bra +0x132 /* 000041CE */
label000040A0:
000040A0 422D F908 clr.b [A5 - 0x6F8]
000040A4 2B7C 0000 0200 F8FE move.l [A5 - 0x702], 0x200
000040AC 603E bra +0x40 /* 000040EC */
label000040AE:
000040AE 202D F46A move.l D0, [A5 - 0xB96]
000040B2 222D F8FE move.l D1, [A5 - 0x702]
000040B6 4EBA 0EBA jsr [PC + 0xEBA /* 00004F72 */]
000040BA 4A80 tst.l D0
000040BC 672E beq +0x30 /* 000040EC */
000040BE 2F2D F8FE move.l -[A7], [A5 - 0x702]
000040C2 2F2D F46A move.l -[A7], [A5 - 0xB96]
000040C6 486D F846 pea.l [A5 - 0x7BA]
000040CA 486C 0001 pea.l [A4 + 0x1]
000040CE 4EAD 01A2 jsr [A5 + 0x1A2]
000040D2 486C 0001 pea.l [A4 + 0x1]
000040D6 4EAD 018A jsr [A5 + 0x18A]
000040DA 1880 move.b [A4], D0
000040DC 2F0C move.l -[A7], A4
000040DE 4EBA DFBE jsr [PC - 0x2042 /* 0000209E */]
000040E2 70C8 moveq.l D0, 0xFFFFFFC8
000040E4 4FEF 0018 lea.l A7, [A7 + 0x18]
000040E8 6000 00E4 bra +0xE6 /* 000041CE */
label000040EC:
000040EC 4A2D F488 tst.b [A5 - 0xB78]
000040F0 6608 bne +0xA /* 000040FA */
000040F2 4A2D F489 tst.b [A5 - 0xB77]
000040F6 6700 00CE beq +0xD0 /* 000041C6 */
label000040FA:
000040FA 1D7C 0015 FEEE move.b [A6 - 0x112], 0x15
00004100 4A2D F489 tst.b [A5 - 0xB77]
00004104 6646 bne +0x48 /* 0000414C */
00004106 700C moveq.l D0, 0x0C
00004108 2F00 move.l -[A7], D0
0000410A 7200 moveq.l D1, 0x00
0000410C 2F01 move.l -[A7], D1
0000410E 486E FEF4 pea.l [A6 - 0x10C]
00004112 4EAD 017A jsr [A5 + 0x17A]
00004116 022E 008F FEF6 andi.b [A6 - 0x10A], 0x8F
0000411C 202D F492 move.l D0, [A5 - 0xB6E]
00004120 E908 lsl D0.b, 4
00004122 0200 0070 andi.b D0, 0x70 /* 'p' */
00004126 812E FEF6 or.b [A6 - 0x10A], D0
0000412A 022E 00F0 FEF6 andi.b [A6 - 0x10A], 0xF0
00004130 202D F48E move.l D0, [A5 - 0xB72]
00004134 0200 000F andi.b D0, 0xF
00004138 812E FEF6 or.b [A6 - 0x10A], D0
0000413C 1D7C 0008 FEF7 move.b [A6 - 0x109], 0x8
00004142 1D6D F48D FEF8 move.b [A6 - 0x108], [A5 - 0xB73]
00004148 4FEF 000C lea.l A7, [A7 + 0xC]
label0000414C:
0000414C 4A2D F488 tst.b [A5 - 0xB78]
00004150 670A beq +0xC /* 0000415C */
00004152 426E FEFE clr.w [A6 - 0x102]
00004156 422E FEFD clr.b [A6 - 0x103]
0000415A 6034 bra +0x36 /* 00004190 */
label0000415C:
0000415C 202D F8FE move.l D0, [A5 - 0x702]
00004160 4840 swap.w D0
00004162 48C0 ext.l D0
00004164 223C 0000 00FF move.l D1, 0xFF
0000416A C280 and.l D1, D0
0000416C 1D41 FEFD move.b [A6 - 0x103], D1
00004170 202D F8FE move.l D0, [A5 - 0x702]
00004174 E080 asr D0, 8
00004176 223C 0000 00FF move.l D1, 0xFF
0000417C C280 and.l D1, D0
0000417E 1D41 FEFE move.b [A6 - 0x102], D1
00004182 203C 0000 00FF move.l D0, 0xFF
00004188 C0AD F8FE and.l D0, [A5 - 0x702]
0000418C 1D40 FEFF move.b [A6 - 0x101], D0
label00004190:
00004190 2F2D F47C move.l -[A7], [A5 - 0xB84]
00004194 7002 moveq.l D0, 0x02
00004196 2F00 move.l -[A7], D0
00004198 486E FEA8 pea.l [A6 - 0x158]
0000419C 720C moveq.l D1, 0x0C
0000419E 2F01 move.l -[A7], D1
000041A0 486E FEF4 pea.l [A6 - 0x10C]
000041A4 7006 moveq.l D0, 0x06
000041A6 2F00 move.l -[A7], D0
000041A8 486E FEEE pea.l [A6 - 0x112]
000041AC 4EBA FA36 jsr [PC - 0x5CA /* 00003BE4 */]
000041B0 4A40 tst.w D0
000041B2 4FEF 001C lea.l A7, [A7 + 0x1C]
000041B6 670E beq +0x10 /* 000041C6 */
000041B8 486D F87A pea.l [A5 - 0x786]
000041BC 4EBA DEE0 jsr [PC - 0x2120 /* 0000209E */]
000041C0 70C8 moveq.l D0, 0xFFFFFFC8
000041C2 584F addq.w A7, 4
000041C4 6008 bra +0xA /* 000041CE */
label000041C6:
000041C6 7001 moveq.l D0, 0x01
000041C8 2B40 F902 move.l [A5 - 0x6FE], D0
000041CC 7000 moveq.l D0, 0x00
label000041CE:
000041CE 4CEE 18E0 FE94 movem.l A4,A3,D7,D6,D5, [A6 - 0x16C]
000041D4 4E5E unlink A6
000041D6 4E75 rts
000041D8 8854 or.w D4, [A4]
000041DA 6170 bsr +0x72 /* 0000424C */
000041DC 654F bcs +0x51 /* 0000422D */
000041DE 7065 moveq.l D0, 0x65
000041E0 6E00 0000 bgt +0x2 /* 000041E2 */
// begin alternate branch 000041E2-000041E8
label000041E2:
000041E2 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000041E4: // (misaligned)
000041E6 FFFA .extension 0xFFA // unimplemented
// end alternate branch 000041E2-000041E8
label000041E2: // (misaligned)
fn000041E4:
000041E4 4E56 FFFA link A6, -0x0006
000041E8 48E7 0108 movem.l -[A7], D7,A4
000041EC 49EE FFFA lea.l A4, [A6 - 0x6]
000041F0 202D F902 move.l D0, [A5 - 0x6FE]
000041F4 0800 0000 btst.b D0, 0x0
000041F8 677C beq +0x7E /* 00004276 */
000041FA 7000 moveq.l D0, 0x00
000041FC 2B40 F902 move.l [A5 - 0x6FE], D0
00004200 4A2D F910 tst.b [A5 - 0x6F0]
00004204 673E beq +0x40 /* 00004244 */
00004206 4A2D F90C tst.b [A5 - 0x6F4]
0000420A 6704 beq +0x6 /* 00004210 */
0000420C 7001 moveq.l D0, 0x01
0000420E 6002 bra +0x4 /* 00004212 */
label00004210:
00004210 7002 moveq.l D0, 0x02
label00004212:
00004212 4880 ext.w D0
00004214 48C0 ext.l D0
00004216 2E00 move.l D7, D0
00004218 2F07 move.l -[A7], D7
0000421A 7000 moveq.l D0, 0x00
0000421C 2F00 move.l -[A7], D0
0000421E 7210 moveq.l D1, 0x10
00004220 2F01 move.l -[A7], D1
00004222 2F0C move.l -[A7], A4
00004224 4EBA F48C jsr [PC - 0xB74 /* 000036B2 */]
00004228 2F2D F480 move.l -[A7], [A5 - 0xB80]
0000422C 7000 moveq.l D0, 0x00
label0000422D: // (misaligned)
0000422E 2F00 move.l -[A7], D0
00004230 2F00 move.l -[A7], D0
00004232 2F00 move.l -[A7], D0
00004234 2F00 move.l -[A7], D0
00004236 7206 moveq.l D1, 0x06
00004238 2F01 move.l -[A7], D1
0000423A 2F0C move.l -[A7], A4
0000423C 4EBA F9A6 jsr [PC - 0x65A /* 00003BE4 */]
00004240 4FEF 002C lea.l A7, [A7 + 0x2C]
label00004244:
00004244 4A2D F90C tst.b [A5 - 0x6F4]
00004248 662C bne +0x2E /* 00004276 */
0000424A 7000 moveq.l D0, 0x00
fn0000424C:
0000424C 2F00 move.l -[A7], D0
0000424E 7201 moveq.l D1, 0x01
00004250 2F01 move.l -[A7], D1
00004252 2F01 move.l -[A7], D1
00004254 2F0C move.l -[A7], A4
00004256 4EBA F45A jsr [PC - 0xBA6 /* 000036B2 */]
0000425A 2F2D F484 move.l -[A7], [A5 - 0xB7C]
0000425E 7000 moveq.l D0, 0x00
00004260 2F00 move.l -[A7], D0
00004262 2F00 move.l -[A7], D0
00004264 2F00 move.l -[A7], D0
00004266 2F00 move.l -[A7], D0
00004268 7206 moveq.l D1, 0x06
0000426A 2F01 move.l -[A7], D1
0000426C 2F0C move.l -[A7], A4
0000426E 4EBA F974 jsr [PC - 0x68C /* 00003BE4 */]
00004272 4FEF 002C lea.l A7, [A7 + 0x2C]
label00004276:
00004276 4CEE 1080 FFF2 movem.l A4,D7, [A6 - 0xE]
0000427C 4E5E unlink A6
0000427E 4E75 rts
00004280 8954 or.w [A4], D4
00004282 6170 bsr +0x72 /* 000042F4 */
00004284 6543 bcs +0x45 /* 000042C9 */
00004286 6C6F bge +0x71 /* 000042F7 */
00004288 7365 moveq.l D1, 0x65
0000428A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000428C-00004290
fn0000428C:
0000428C 4E56 FFB2 link A6, -0x004E
// end alternate branch 0000428C-00004290
fn0000428C: // (misaligned)
0000428E FFB2 .extension 0xFB2 // unimplemented
00004290 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00004294 47EE FFFA lea.l A3, [A6 - 0x6]
00004298 49EE FFB2 lea.l A4, [A6 - 0x4E]
0000429C 2E2E 000C move.l D7, [A6 + 0xC]
000042A0 202D F8FE move.l D0, [A5 - 0x702]
000042A4 5380 subq.l D0, 1
000042A6 C087 and.l D0, D7
000042A8 6706 beq +0x8 /* 000042B0 */
000042AA 70DC moveq.l D0, 0xFFFFFFDC
000042AC 6000 00D4 bra +0xD6 /* 00004382 */
label000042B0:
000042B0 4A2E 0013 tst.b [A6 + 0x13]
000042B4 670C beq +0xE /* 000042C2 */
000042B6 7A0A moveq.l D5, 0x0A
000042B8 7C02 moveq.l D6, 0x02
000042BA 1B7C 0001 F910 move.b [A5 - 0x6F0], 0x1
000042C0 6008 bra +0xA /* 000042CA */
label000042C2:
000042C2 7A08 moveq.l D5, 0x08
000042C4 7C01 moveq.l D6, 0x01
000042C6 422D F910 clr.b [A5 - 0x6F0]
label000042C9: // (misaligned)
label000042CA:
000042CA 4A2D F908 tst.b [A5 - 0x6F8]
000042CE 672A beq +0x2C /* 000042FA */
000042D0 2D47 FFF2 move.l [A6 - 0xE], D7
000042D4 2007 move.l D0, D7
000042D6 222D F8FE move.l D1, [A5 - 0x702]
000042DA 4EBA 0C76 jsr [PC + 0xC76 /* 00004F52 */]
000042DE 2D40 FFF2 move.l [A6 - 0xE], D0
000042E2 2800 move.l D4, D0
000042E4 2F2E FFF2 move.l -[A7], [A6 - 0xE]
000042E8 7001 moveq.l D0, 0x01
000042EA 2F00 move.l -[A7], D0
000042EC 2F05 move.l -[A7], D5
000042EE 2F0B move.l -[A7], A3
000042F0 4EBA F3C0 jsr [PC - 0xC40 /* 000036B2 */]
fn000042F4:
000042F4 4FEF 0010 lea.l A7, [A7 + 0x10]
label000042F7: // (misaligned)
000042F8 601E bra +0x20 /* 00004318 */
label000042FA:
000042FA 2007 move.l D0, D7
000042FC 222D F8FE move.l D1, [A5 - 0x702]
00004300 4EBA 0C50 jsr [PC + 0xC50 /* 00004F52 */]
00004304 2800 move.l D4, D0
00004306 2F07 move.l -[A7], D7
00004308 7000 moveq.l D0, 0x00
0000430A 2F00 move.l -[A7], D0
0000430C 2F05 move.l -[A7], D5
0000430E 2F0B move.l -[A7], A3
00004310 4EBA F3A0 jsr [PC - 0xC60 /* 000036B2 */]
00004314 4FEF 0010 lea.l A7, [A7 + 0x10]
label00004318:
00004318 2004 move.l D0, D4
0000431A D0AD F480 add.l D0, [A5 - 0xB80]
0000431E 2F00 move.l -[A7], D0
00004320 2F06 move.l -[A7], D6
00004322 486E FFF6 pea.l [A6 - 0xA]
00004326 2F07 move.l -[A7], D7
00004328 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000432C 7006 moveq.l D0, 0x06
0000432E 2F00 move.l -[A7], D0
00004330 2F0B move.l -[A7], A3
00004332 4EBA F8B0 jsr [PC - 0x750 /* 00003BE4 */]
00004336 3A00 move.w D5, D0
00004338 4FEF 001C lea.l A7, [A7 + 0x1C]
0000433C 6740 beq +0x42 /* 0000437E */
0000433E 48C5 ext.l D5
00004340 2F05 move.l -[A7], D5
00004342 7001 moveq.l D0, 0x01
00004344 B086 cmp.l D0, D6
00004346 6608 bne +0xA /* 00004350 */
00004348 41ED F8A0 lea.l A0, [A5 - 0x760]
0000434C 2008 move.l D0, A0
0000434E 6006 bra +0x8 /* 00004356 */
label00004350:
00004350 41ED F8A6 lea.l A0, [A5 - 0x75A]
00004354 2008 move.l D0, A0
label00004356:
00004356 2F00 move.l -[A7], D0
00004358 486D F8AC pea.l [A5 - 0x754]
0000435C 486C 0001 pea.l [A4 + 0x1]
00004360 4EAD 01A2 jsr [A5 + 0x1A2]
00004364 486C 0001 pea.l [A4 + 0x1]
00004368 4EAD 018A jsr [A5 + 0x18A]
0000436C 1880 move.b [A4], D0
0000436E 2F0C move.l -[A7], A4
00004370 4EBA DD2C jsr [PC - 0x22D4 /* 0000209E */]
00004374 48C5 ext.l D5
00004376 2005 move.l D0, D5
00004378 4FEF 0018 lea.l A7, [A7 + 0x18]
0000437C 6004 bra +0x6 /* 00004382 */
label0000437E:
0000437E 202E FFF6 move.l D0, [A6 - 0xA]
label00004382:
00004382 4CEE 18F0 FF9A movem.l A4,A3,D7,D6,D5,D4, [A6 - 0x66]
00004388 4E5E unlink A6
0000438A 4E75 rts
0000438C 8C54 or.w D6, [A4]
0000438E 6170 bsr +0x72 /* 00004400 */
00004390 6553 bcs +0x55 /* 000043E5 */
00004392 7472 moveq.l D2, 0x72
00004394 6174 bsr +0x76 /* 0000440A */
00004396 6567 bcs +0x69 /* 000043FF */
00004398 7900 moveq.l D4, 0x00
0000439A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000439C-000043A4
fn0000439C:
0000439C 4E56 0000 link A6, 0
000043A0 202D F902 move.l D0, [A5 - 0x6FE]
// end alternate branch 0000439C-000043A4
fn0000439C: // (misaligned)
0000439E 0000 202D ori.b D0, 0x2D /* '-' */
000043A2 F902 .extension 0x902 // unimplemented
000043A4 0800 0000 btst.b D0, 0x0
000043A8 6724 beq +0x26 /* 000043CE */
000043AA 4A2D F90E tst.b [A5 - 0x6F2]
000043AE 6708 beq +0xA /* 000043B8 */
000043B0 422D F90E clr.b [A5 - 0x6F2]
000043B4 7000 moveq.l D0, 0x00
000043B6 6018 bra +0x1A /* 000043D0 */
label000043B8:
000043B8 7000 moveq.l D0, 0x00
000043BA 2F00 move.l -[A7], D0
000043BC 2F2E 000C move.l -[A7], [A6 + 0xC]
000043C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000043C4 4EBA FEC6 jsr [PC - 0x13A /* 0000428C */]
000043C8 4FEF 000C lea.l A7, [A7 + 0xC]
000043CC 6002 bra +0x4 /* 000043D0 */
label000043CE:
000043CE 70E4 moveq.l D0, 0xFFFFFFE4
label000043D0:
000043D0 4E5E unlink A6
000043D2 4E75 rts
000043D4 8854 or.w D4, [A4]
000043D6 6170 bsr +0x72 /* 00004448 */
000043D8 6552 bcs +0x54 /* 0000442C */
000043DA 6561 bcs +0x63 /* 0000443D */
000043DC 6400 0000 bcc +0x2 /* 000043DE */
// begin alternate branch 000043DE-000043E8
label000043DE:
000043DE 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000043E0: // (misaligned)
000043E2 0000 202D ori.b D0, 0x2D /* '-' */
label000043E5: // (misaligned)
000043E6 F902 .extension 0x902 // unimplemented
// end alternate branch 000043DE-000043E8
label000043DE: // (misaligned)
fn000043E0:
000043E0 4E56 0000 link A6, 0
000043E4 202D F902 move.l D0, [A5 - 0x6FE]
label000043E5: // (misaligned)
000043E8 0800 0000 btst.b D0, 0x0
000043EC 6716 beq +0x18 /* 00004404 */
000043EE 7001 moveq.l D0, 0x01
000043F0 2F00 move.l -[A7], D0
000043F2 2F2E 000C move.l -[A7], [A6 + 0xC]
000043F6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000043FA 4EBA FE90 jsr [PC - 0x170 /* 0000428C */]
000043FE 4FEF 000C lea.l A7, [A7 + 0xC]
// begin alternate branch 00004400-00004404
fn00004400:
00004400 000C 6002 ori.b A4, 0x2
// end alternate branch 00004400-00004404
label000043FF: // (misaligned)
fn00004400: // (misaligned)
00004402 6002 bra +0x4 /* 00004406 */
label00004404:
00004404 70E4 moveq.l D0, 0xFFFFFFE4
label00004406:
00004406 4E5E unlink A6
00004408 4E75 rts
fn0000440A:
0000440A 8954 or.w [A4], D4
0000440C 6170 bsr +0x72 /* 0000447E */
0000440E 6557 bcs +0x59 /* 00004467 */
00004410 7269 moveq.l D1, 0x69
00004412 7465 moveq.l D2, 0x65
00004414 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004416-0000441A
fn00004416:
00004416 4E56 FFF8 link A6, -0x0008
// end alternate branch 00004416-0000441A
fn00004416: // (misaligned)
00004418 FFF8 .extension 0xFF8 // unimplemented
0000441A 2F0C move.l -[A7], A4
0000441C 49ED F914 lea.l A4, [A5 - 0x6EC]
00004420 4A2D F463 tst.b [A5 - 0xB9D]
00004424 6700 0148 beq +0x14A /* 0000456E */
00004428 4A2D EB82 tst.b [A5 - 0x147E]
label0000442C:
0000442C 660E bne +0x10 /* 0000443C */
0000442E 4EBA 060E jsr [PC + 0x60E /* 00004A3E */]
00004432 4A00 tst.b D0
00004434 6706 beq +0x8 /* 0000443C */
00004436 7001 moveq.l D0, 0x01
00004438 6000 0228 bra +0x22A /* 00004662 */
label0000443C:
0000443C 558F subq.l A7, 2
label0000443D: // (misaligned)
0000443E 2F2D EB7C move.l -[A7], [A5 - 0x1484]
00004442 4EBA 1528 jsr [PC + 0x1528 /* 0000596C */]
00004446 7000 moveq.l D0, 0x00
fn00004448:
00004448 101F move.b D0, [A7]+
0000444A 4A80 tst.l D0
0000444C 6606 bne +0x8 /* 00004454 */
0000444E 7001 moveq.l D0, 0x01
00004450 6000 0210 bra +0x212 /* 00004662 */
label00004454:
00004454 558F subq.l A7, 2
00004456 4EBA 1530 jsr [PC + 0x1530 /* 00005988 */]
0000445A 4A5F tst.w [A7]+
0000445C 6724 beq +0x26 /* 00004482 */
0000445E 558F subq.l A7, 2
00004460 4EBA 1526 jsr [PC + 0x1526 /* 00005988 */]
00004464 301F move.w D0, [A7]+
00004466 48C0 ext.l D0
label00004467: // (misaligned)
00004468 2F00 move.l -[A7], D0
0000446A 7000 moveq.l D0, 0x00
0000446C 2F00 move.l -[A7], D0
0000446E 486D F91E pea.l [A5 - 0x6E2]
00004472 2F0C move.l -[A7], A4
00004474 4EBA DA72 jsr [PC - 0x258E /* 00001EE8 */]
00004478 7001 moveq.l D0, 0x01
0000447A 4FEF 0010 lea.l A7, [A7 + 0x10]
fn0000447E:
0000447E 6000 01E2 bra +0x1E4 /* 00004662 */
label00004482:
00004482 598F subq.l A7, 4
00004484 2F2D EB7C move.l -[A7], [A5 - 0x1484]
00004488 7000 moveq.l D0, 0x00
0000448A 2F00 move.l -[A7], D0
0000448C 2F00 move.l -[A7], D0
0000448E 4EBA 1488 jsr [PC + 0x1488 /* 00005918 */]
00004492 2B5F F9FC move.l [A5 - 0x604], [A7]+
00004496 558F subq.l A7, 2
00004498 4EBA 14EE jsr [PC + 0x14EE /* 00005988 */]
0000449C 4A5F tst.w [A7]+
0000449E 6724 beq +0x26 /* 000044C4 */
000044A0 558F subq.l A7, 2
000044A2 4EBA 14E4 jsr [PC + 0x14E4 /* 00005988 */]
000044A6 301F move.w D0, [A7]+
000044A8 48C0 ext.l D0
000044AA 2F00 move.l -[A7], D0
000044AC 7000 moveq.l D0, 0x00
000044AE 2F00 move.l -[A7], D0
000044B0 486D F92C pea.l [A5 - 0x6D4]
000044B4 2F0C move.l -[A7], A4
000044B6 4EBA DA30 jsr [PC - 0x25D0 /* 00001EE8 */]
000044BA 7001 moveq.l D0, 0x01
000044BC 4FEF 0010 lea.l A7, [A7 + 0x10]
000044C0 6000 01A0 bra +0x1A2 /* 00004662 */
label000044C4:
000044C4 2F2D F9FC move.l -[A7], [A5 - 0x604]
000044C8 7000 moveq.l D0, 0x00
000044CA 2F00 move.l -[A7], D0
000044CC 4EBA 1466 jsr [PC + 0x1466 /* 00005934 */]
000044D0 558F subq.l A7, 2
000044D2 4EBA 14B4 jsr [PC + 0x14B4 /* 00005988 */]
000044D6 4A5F tst.w [A7]+
000044D8 6724 beq +0x26 /* 000044FE */
000044DA 558F subq.l A7, 2
000044DC 4EBA 14AA jsr [PC + 0x14AA /* 00005988 */]
000044E0 301F move.w D0, [A7]+
000044E2 48C0 ext.l D0
000044E4 2F00 move.l -[A7], D0
000044E6 7000 moveq.l D0, 0x00
000044E8 2F00 move.l -[A7], D0
000044EA 486D F938 pea.l [A5 - 0x6C8]
000044EE 2F0C move.l -[A7], A4
000044F0 4EBA D9F6 jsr [PC - 0x260A /* 00001EE8 */]
000044F4 7001 moveq.l D0, 0x01
000044F6 4FEF 0010 lea.l A7, [A7 + 0x10]
000044FA 6000 0166 bra +0x168 /* 00004662 */
label000044FE:
000044FE 486D F9F8 pea.l [A5 - 0x608]
00004502 A874 trap GetPort
00004504 206D F9FC movea.l A0, [A5 - 0x604]
00004508 2F08 move.l -[A7], A0
0000450A A873 trap SetPort
0000450C 7004 moveq.l D0, 0x04
0000450E 3F00 move.w -[A7], D0
00004510 A887 trap TextFont
00004512 7009 moveq.l D0, 0x09
00004514 3F00 move.w -[A7], D0
00004516 A88A trap TextSize
00004518 486E FFF8 pea.l [A6 - 0x8]
0000451C A88B trap GetFontInfo
0000451E 302E FFF8 move.w D0, [A6 - 0x8]
00004522 48C0 ext.l D0
00004524 322E FFFA move.w D1, [A6 - 0x6]
00004528 48C1 ext.l D1
0000452A D280 add.l D1, D0
0000452C 302E FFFE move.w D0, [A6 - 0x2]
00004530 D041 add.w D0, D1
00004532 3B40 FA10 move.w [A5 - 0x5F0], D0
00004536 7005 moveq.l D0, 0x05
00004538 3F00 move.w -[A7], D0
0000453A 3B6D FA10 FA08 move.w [A5 - 0x5F8], [A5 - 0x5F0]
00004540 3F2D FA10 move.w -[A7], [A5 - 0x5F0]
00004544 A893 trap MoveTo
00004546 206D EB7C movea.l A0, [A5 - 0x1484]
0000454A 2050 movea.l A0, [A0]
0000454C 3028 000C move.w D0, [A0 + 0xC]
00004550 48C0 ext.l D0
00004552 81ED FA10 divs.w D0, [A5 - 0x5F0]
00004556 48C0 ext.l D0
00004558 5380 subq.l D0, 1
0000455A 322D FA10 move.w D1, [A5 - 0x5F0]
0000455E 48C1 ext.l D1
00004560 4EBA 09C8 jsr [PC + 0x9C8 /* 00004F2A */]
00004564 3B40 FA0C move.w [A5 - 0x5F4], D0
00004568 7000 moveq.l D0, 0x00
0000456A 6000 00F6 bra +0xF8 /* 00004662 */
label0000456E:
0000456E 598F subq.l A7, 4
00004570 A8D8 trap NewRgn
00004572 2B5F FA00 move.l [A5 - 0x600], [A7]+
00004576 6620 bne +0x22 /* 00004598 */
00004578 3038 0220 move.w D0, [0x00000220 /* MemErr */]
0000457C 48C0 ext.l D0
0000457E 2F00 move.l -[A7], D0
00004580 7000 moveq.l D0, 0x00
00004582 2F00 move.l -[A7], D0
00004584 486D F944 pea.l [A5 - 0x6BC]
00004588 2F0C move.l -[A7], A4
0000458A 4EBA D95C jsr [PC - 0x26A4 /* 00001EE8 */]
0000458E 7001 moveq.l D0, 0x01
00004590 4FEF 0010 lea.l A7, [A7 + 0x10]
00004594 6000 00CC bra +0xCE /* 00004662 */
label00004598:
00004598 598F subq.l A7, 4
0000459A 3F3C 0081 move.w -[A7], 0x81
0000459E 7000 moveq.l D0, 0x00
000045A0 2F00 move.l -[A7], D0
000045A2 72FF moveq.l D1, 0xFFFFFFFF
000045A4 2F01 move.l -[A7], D1
000045A6 A9BD trap GetNewWindow
000045A8 2B5F FA14 move.l [A5 - 0x5EC], [A7]+
000045AC 6622 bne +0x24 /* 000045D0 */
000045AE 558F subq.l A7, 2
000045B0 A9AF trap ResError
000045B2 301F move.w D0, [A7]+
000045B4 48C0 ext.l D0
000045B6 2F00 move.l -[A7], D0
000045B8 7000 moveq.l D0, 0x00
000045BA 2F00 move.l -[A7], D0
000045BC 486D F94C pea.l [A5 - 0x6B4]
000045C0 2F0C move.l -[A7], A4
000045C2 4EBA D924 jsr [PC - 0x26DC /* 00001EE8 */]
000045C6 7001 moveq.l D0, 0x01
000045C8 4FEF 0010 lea.l A7, [A7 + 0x10]
000045CC 6000 0094 bra +0x96 /* 00004662 */
label000045D0:
000045D0 2F2D FA14 move.l -[A7], [A5 - 0x5EC]
000045D4 A873 trap SetPort
000045D6 7004 moveq.l D0, 0x04
000045D8 3F00 move.w -[A7], D0
000045DA A887 trap TextFont
000045DC 7009 moveq.l D0, 0x09
000045DE 3F00 move.w -[A7], D0
000045E0 A88A trap TextSize
000045E2 486E FFF8 pea.l [A6 - 0x8]
000045E6 A88B trap GetFontInfo
000045E8 302E FFF8 move.w D0, [A6 - 0x8]
000045EC 48C0 ext.l D0
000045EE 322E FFFA move.w D1, [A6 - 0x6]
000045F2 48C1 ext.l D1
000045F4 D280 add.l D1, D0
000045F6 302E FFFE move.w D0, [A6 - 0x2]
000045FA D041 add.w D0, D1
000045FC 3B40 FA10 move.w [A5 - 0x5F0], D0
00004600 7005 moveq.l D0, 0x05
00004602 3F00 move.w -[A7], D0
00004604 3B6D FA10 FA08 move.w [A5 - 0x5F8], [A5 - 0x5F0]
0000460A 3F2D FA10 move.w -[A7], [A5 - 0x5F0]
0000460E A893 trap MoveTo
00004610 302D FA08 move.w D0, [A5 - 0x5F8]
00004614 48C0 ext.l D0
00004616 322E FFFA move.w D1, [A6 - 0x6]
0000461A 48C1 ext.l D1
0000461C D280 add.l D1, D0
0000461E 302E FFFE move.w D0, [A6 - 0x2]
00004622 D041 add.w D0, D1
00004624 3B40 FA0A move.w [A5 - 0x5F6], D0
00004628 206D FA14 movea.l A0, [A5 - 0x5EC]
0000462C 3028 0014 move.w D0, [A0 + 0x14]
00004630 48C0 ext.l D0
00004632 81ED FA10 divs.w D0, [A5 - 0x5F0]
00004636 3B40 FA06 move.w [A5 - 0x5FA], D0
0000463A C1ED FA10 muls.w D0, [A5 - 0x5F0]
0000463E 3B40 FA0C move.w [A5 - 0x5F4], D0
00004642 48C0 ext.l D0
00004644 322E FFFA move.w D1, [A6 - 0x6]
00004648 48C1 ext.l D1
0000464A D280 add.l D1, D0
0000464C 302E FFFE move.w D0, [A6 - 0x2]
00004650 D041 add.w D0, D1
00004652 3B40 FA0E move.w [A5 - 0x5F2], D0
00004656 426D FA04 clr.w [A5 - 0x5FC]
0000465A 1B7C 0001 FA12 move.b [A5 - 0x5EE], 0x1
00004660 7000 moveq.l D0, 0x00
label00004662:
00004662 286E FFF4 movea.l A4, [A6 - 0xC]
00004666 4E5E unlink A6
00004668 4E75 rts
0000466A 8857 or.w D4, [A7]
0000466C 696E bvs +0x70 /* 000046DC */
0000466E 6449 bcc +0x4B /* 000046B9 */
00004670 6E69 bgt +0x6B /* 000046DB */
00004672 7400 moveq.l D2, 0x00
00004674 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004676-0000467A
fn00004676:
00004676 4E56 FFE6 link A6, -0x001A
// end alternate branch 00004676-0000467A
fn00004676: // (misaligned)
00004678 FFE6 .extension 0xFE6 // unimplemented
0000467A 48E7 0308 movem.l -[A7], D6,D7,A4
0000467E 4A2D EB82 tst.b [A5 - 0x147E]
00004682 6700 00A4 beq +0xA6 /* 00004728 */
00004686 49ED F95A lea.l A4, [A5 - 0x6A6]
0000468A 2F2D F9FC move.l -[A7], [A5 - 0x604]
0000468E 4EBA 12B2 jsr [PC + 0x12B2 /* 00005942 */]
00004692 558F subq.l A7, 2
00004694 4EBA 12F2 jsr [PC + 0x12F2 /* 00005988 */]
00004698 3E1F move.w D7, [A7]+
0000469A 6726 beq +0x28 /* 000046C2 */
0000469C 0C47 0080 cmpi.w D7, 0x80
000046A0 677A beq +0x7C /* 0000471C */
000046A2 558F subq.l A7, 2
000046A4 4EBA 12E2 jsr [PC + 0x12E2 /* 00005988 */]
000046A8 301F move.w D0, [A7]+
000046AA 48C0 ext.l D0
000046AC 2F00 move.l -[A7], D0
000046AE 7000 moveq.l D0, 0x00
000046B0 2F00 move.l -[A7], D0
000046B2 486D F964 pea.l [A5 - 0x69C]
000046B6 2F0C move.l -[A7], A4
000046B8 4EBA D82E jsr [PC - 0x27D2 /* 00001EE8 */]
label000046B9: // (misaligned)
000046BC 4FEF 0010 lea.l A7, [A7 + 0x10]
000046C0 605A bra +0x5C /* 0000471C */
label000046C2:
000046C2 2F2D F9FC move.l -[A7], [A5 - 0x604]
000046C6 4EBA 125E jsr [PC + 0x125E /* 00005926 */]
000046CA 558F subq.l A7, 2
000046CC 4EBA 12BA jsr [PC + 0x12BA /* 00005988 */]
000046D0 3E1F move.w D7, [A7]+
000046D2 6726 beq +0x28 /* 000046FA */
000046D4 0C47 0080 cmpi.w D7, 0x80
000046D8 6742 beq +0x44 /* 0000471C */
000046DA 558F subq.l A7, 2
label000046DB: // (misaligned)
label000046DC:
000046DC 4EBA 12AA jsr [PC + 0x12AA /* 00005988 */]
000046E0 301F move.w D0, [A7]+
000046E2 48C0 ext.l D0
000046E4 2F00 move.l -[A7], D0
000046E6 7000 moveq.l D0, 0x00
000046E8 2F00 move.l -[A7], D0
000046EA 486D F972 pea.l [A5 - 0x68E]
000046EE 2F0C move.l -[A7], A4
000046F0 4EBA D7F6 jsr [PC - 0x280A /* 00001EE8 */]
000046F4 4FEF 0010 lea.l A7, [A7 + 0x10]
000046F8 6022 bra +0x24 /* 0000471C */
label000046FA:
000046FA 206D EB7C movea.l A0, [A5 - 0x1484]
000046FE 2050 movea.l A0, [A0]
00004700 7001 moveq.l D0, 0x01
00004702 B028 0044 cmp.b D0, [A0 + 0x44]
00004706 6614 bne +0x16 /* 0000471C */
00004708 2F2D EB7C move.l -[A7], [A5 - 0x1484]
0000470C 7000 moveq.l D0, 0x00
0000470E 2F00 move.l -[A7], D0
00004710 2F00 move.l -[A7], D0
00004712 2F00 move.l -[A7], D0
00004714 486E FFE6 pea.l [A6 - 0x1A]
00004718 4EBA 1260 jsr [PC + 0x1260 /* 0000597A */]
label0000471C:
0000471C 2F2D F9F8 move.l -[A7], [A5 - 0x608]
00004720 A873 trap SetPort
00004722 422D EB82 clr.b [A5 - 0x147E]
00004726 6054 bra +0x56 /* 0000477C */
label00004728:
00004728 4A2E 000B tst.b [A6 + 0xB]
0000472C 673E beq +0x40 /* 0000476C */
0000472E 1C2D F460 move.b D6, [A5 - 0xBA0]
00004732 422D F460 clr.b [A5 - 0xBA0]
00004736 4A2D F463 tst.b [A5 - 0xB9D]
0000473A 660A bne +0xC /* 00004746 */
0000473C 486D F97E pea.l [A5 - 0x682]
00004740 4EBA 004E jsr [PC + 0x4E /* 00004790 */]
00004744 584F addq.w A7, 4
label00004746:
00004746 A9B4 trap SystemTask
00004748 558F subq.l A7, 2
0000474A 7008 moveq.l D0, 0x08
0000474C 3F00 move.w -[A7], D0
0000474E 486E FFF0 pea.l [A6 - 0x10]
00004752 A970 trap GetNextEvent
00004754 7000 moveq.l D0, 0x00
00004756 101F move.b D0, [A7]+
00004758 4A80 tst.l D0
0000475A 6604 bne +0x6 /* 00004760 */
0000475C 426E FFF0 clr.w [A6 - 0x10]
label00004760:
00004760 7003 moveq.l D0, 0x03
00004762 B06E FFF0 cmp.w D0, [A6 - 0x10]
00004766 66DE bne -0x20 /* 00004746 */
00004768 1B46 F460 move.b [A5 - 0xBA0], D6
label0000476C:
0000476C 2F2D FA14 move.l -[A7], [A5 - 0x5EC]
00004770 A914 trap DisposeWindow
00004772 2F2D FA00 move.l -[A7], [A5 - 0x600]
00004776 A8D9 trap DisposRgn/DisposeRgn
00004778 422D FA12 clr.b [A5 - 0x5EE]
label0000477C:
0000477C 4CEE 10C0 FFDA movem.l A4,D7,D6, [A6 - 0x26]
00004782 4E5E unlink A6
00004784 4E75 rts
00004786 8757 or.w [A7], D3
00004788 696E bvs +0x70 /* 000047F8 */
0000478A 6445 bcc +0x47 /* 000047D1 */
0000478C 6E64 bgt +0x66 /* 000047F2 */
0000478E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004790-00004794
fn00004790:
00004790 4E56 FEE4 link A6, -0x011C
// end alternate branch 00004790-00004794
fn00004790: // (misaligned)
00004792 FEE4 .extension 0xEE4 // unimplemented
00004794 48E7 0118 movem.l -[A7], D7,A3,A4
00004798 49EE FEEC lea.l A4, [A6 - 0x114]
0000479C 47ED F998 lea.l A3, [A5 - 0x668]
000047A0 4A2D FA12 tst.b [A5 - 0x5EE]
000047A4 6608 bne +0xA /* 000047AE */
000047A6 4A2D EB82 tst.b [A5 - 0x147E]
000047AA 6700 027E beq +0x280 /* 00004A2A */
label000047AE:
000047AE 41EE 0008 lea.l A0, [A6 + 0x8]
000047B2 5848 addq.w A0, 4
000047B4 2D48 FFFC move.l [A6 - 0x4], A0
000047B8 2F08 move.l -[A7], A0
000047BA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000047BE 2F0C move.l -[A7], A4
000047C0 4EAD 01AA jsr [A5 + 0x1AA]
000047C4 2F0C move.l -[A7], A4
000047C6 4EAD 018A jsr [A5 + 0x18A]
000047CA 0C80 0000 0100 cmpi.l D0, 0x100
000047D0 4FEF 0010 lea.l A7, [A7 + 0x10]
label000047D1: // (misaligned)
000047D4 6D04 blt +0x6 /* 000047DA */
000047D6 4EBA D864 jsr [PC - 0x279C /* 0000203C */]
label000047DA:
000047DA 4A2D F463 tst.b [A5 - 0xB9D]
000047DE 6700 00F6 beq +0xF8 /* 000048D6 */
000047E2 302D FA08 move.w D0, [A5 - 0x5F8]
000047E6 B06D FA0C cmp.w D0, [A5 - 0x5F4]
000047EA 6F00 00C2 ble +0xC4 /* 000048AE */
000047EE 2F2D F9FC move.l -[A7], [A5 - 0x604]
label000047F2:
000047F2 4EBA 114E jsr [PC + 0x114E /* 00005942 */]
000047F6 558F subq.l A7, 2
label000047F8:
000047F8 4EBA 118E jsr [PC + 0x118E /* 00005988 */]
000047FC 3E1F move.w D7, [A7]+
000047FE 672A beq +0x2C /* 0000482A */
00004800 0C47 0080 cmpi.w D7, 0x80
00004804 6700 0224 beq +0x226 /* 00004A2A */
00004808 558F subq.l A7, 2
0000480A 4EBA 117C jsr [PC + 0x117C /* 00005988 */]
0000480E 301F move.w D0, [A7]+
00004810 48C0 ext.l D0
00004812 2F00 move.l -[A7], D0
00004814 7000 moveq.l D0, 0x00
00004816 2F00 move.l -[A7], D0
00004818 486D F9A2 pea.l [A5 - 0x65E]
0000481C 2F0B move.l -[A7], A3
0000481E 4EBA D6C8 jsr [PC - 0x2938 /* 00001EE8 */]
00004822 4FEF 0010 lea.l A7, [A7 + 0x10]
00004826 6000 0202 bra +0x204 /* 00004A2A */
label0000482A:
0000482A 2F2D F9FC move.l -[A7], [A5 - 0x604]
0000482E 7000 moveq.l D0, 0x00
00004830 2F00 move.l -[A7], D0
00004832 4EBA 1100 jsr [PC + 0x1100 /* 00005934 */]
00004836 558F subq.l A7, 2
00004838 4EBA 114E jsr [PC + 0x114E /* 00005988 */]
0000483C 4A5F tst.w [A7]+
0000483E 672A beq +0x2C /* 0000486A */
00004840 0C47 0080 cmpi.w D7, 0x80
00004844 6700 01E4 beq +0x1E6 /* 00004A2A */
00004848 558F subq.l A7, 2
0000484A 4EBA 113C jsr [PC + 0x113C /* 00005988 */]
0000484E 301F move.w D0, [A7]+
00004850 48C0 ext.l D0
00004852 2F00 move.l -[A7], D0
00004854 7000 moveq.l D0, 0x00
00004856 2F00 move.l -[A7], D0
00004858 486D F9B0 pea.l [A5 - 0x650]
0000485C 2F0B move.l -[A7], A3
0000485E 4EBA D688 jsr [PC - 0x2978 /* 00001EE8 */]
00004862 4FEF 0010 lea.l A7, [A7 + 0x10]
00004866 6000 01C2 bra +0x1C4 /* 00004A2A */
label0000486A:
0000486A 7005 moveq.l D0, 0x05
0000486C 3F00 move.w -[A7], D0
0000486E 3B6D FA10 FA08 move.w [A5 - 0x5F8], [A5 - 0x5F0]
00004874 3F2D FA10 move.w -[A7], [A5 - 0x5F0]
00004878 A893 trap MoveTo
0000487A 7004 moveq.l D0, 0x04
0000487C 3F00 move.w -[A7], D0
0000487E A888 trap TextFace
00004880 486D EAFC pea.l [A5 - 0x1504]
00004884 7000 moveq.l D0, 0x00
00004886 3F00 move.w -[A7], D0
00004888 486D EAFC pea.l [A5 - 0x1504]
0000488C 4EAD 018A jsr [A5 + 0x18A]
00004890 588F addq.l A7, 4
00004892 3F00 move.w -[A7], D0
00004894 A885 trap DrawText
00004896 7000 moveq.l D0, 0x00
00004898 3F00 move.w -[A7], D0
0000489A A888 trap TextFace
0000489C 7005 moveq.l D0, 0x05
0000489E 3F00 move.w -[A7], D0
000048A0 322D FA10 move.w D1, [A5 - 0x5F0]
000048A4 D36D FA08 add.w [A5 - 0x5F8], D1
000048A8 3F2D FA08 move.w -[A7], [A5 - 0x5F8]
000048AC A893 trap MoveTo
label000048AE:
000048AE 2F0C move.l -[A7], A4
000048B0 7000 moveq.l D0, 0x00
000048B2 3F00 move.w -[A7], D0
000048B4 2F0C move.l -[A7], A4
000048B6 4EAD 018A jsr [A5 + 0x18A]
000048BA 588F addq.l A7, 4
000048BC 3F00 move.w -[A7], D0
000048BE A885 trap DrawText
000048C0 7005 moveq.l D0, 0x05
000048C2 3F00 move.w -[A7], D0
000048C4 322D FA10 move.w D1, [A5 - 0x5F0]
000048C8 D36D FA08 add.w [A5 - 0x5F8], D1
000048CC 3F2D FA08 move.w -[A7], [A5 - 0x5F8]
000048D0 A893 trap MoveTo
000048D2 6000 0156 bra +0x158 /* 00004A2A */
label000048D6:
000048D6 2F2D FA14 move.l -[A7], [A5 - 0x5EC]
000048DA A873 trap SetPort
000048DC 302D FA08 move.w D0, [A5 - 0x5F8]
000048E0 B06D FA0C cmp.w D0, [A5 - 0x5F4]
000048E4 6F48 ble +0x4A /* 0000492E */
000048E6 486E FEE4 pea.l [A6 - 0x11C]
000048EA 206D FA14 movea.l A0, [A5 - 0x5EC]
000048EE 3F28 0012 move.w -[A7], [A0 + 0x12]
000048F2 3F2D FA0A move.w -[A7], [A5 - 0x5F6]
000048F6 3F28 0016 move.w -[A7], [A0 + 0x16]
000048FA 3F2D FA0E move.w -[A7], [A5 - 0x5F2]
000048FE A8A7 trap SetRect
00004900 486E FEE4 pea.l [A6 - 0x11C]
00004904 7000 moveq.l D0, 0x00
00004906 3F00 move.w -[A7], D0
00004908 322D FA10 move.w D1, [A5 - 0x5F0]
0000490C 48C1 ext.l D1
0000490E 4481 neg.l D1
00004910 3F01 move.w -[A7], D1
00004912 2F2D FA00 move.l -[A7], [A5 - 0x600]
00004916 A8EF trap ScrollRect
00004918 2F2D FA00 move.l -[A7], [A5 - 0x600]
0000491C A8DD trap SetEmptyRgn
0000491E 7005 moveq.l D0, 0x05
00004920 3F00 move.w -[A7], D0
00004922 3B6D FA0C FA08 move.w [A5 - 0x5F8], [A5 - 0x5F4]
00004928 3F2D FA0C move.w -[A7], [A5 - 0x5F4]
0000492C A893 trap MoveTo
label0000492E:
0000492E 4A2D F460 tst.b [A5 - 0xBA0]
00004932 6778 beq +0x7A /* 000049AC */
00004934 526D FA04 addq.w [A5 - 0x5FC], 1
00004938 302D FA04 move.w D0, [A5 - 0x5FC]
0000493C B06D FA06 cmp.w D0, [A5 - 0x5FA]
00004940 666A bne +0x6C /* 000049AC */
00004942 426D FA04 clr.w [A5 - 0x5FC]
00004946 486D F9BE pea.l [A5 - 0x642]
0000494A 7000 moveq.l D0, 0x00
0000494C 3F00 move.w -[A7], D0
0000494E 7219 moveq.l D1, 0x19
00004950 3F01 move.w -[A7], D1
00004952 A885 trap DrawText
label00004954:
00004954 A9B4 trap SystemTask
00004956 558F subq.l A7, 2
00004958 7008 moveq.l D0, 0x08
0000495A 3F00 move.w -[A7], D0
0000495C 486E FFEC pea.l [A6 - 0x14]
00004960 A970 trap GetNextEvent
00004962 7000 moveq.l D0, 0x00
00004964 101F move.b D0, [A7]+
00004966 4A80 tst.l D0
00004968 6604 bne +0x6 /* 0000496E */
0000496A 426E FFEC clr.w [A6 - 0x14]
label0000496E:
0000496E 7003 moveq.l D0, 0x03
00004970 B06E FFEC cmp.w D0, [A6 - 0x14]
00004974 66DE bne -0x20 /* 00004954 */
00004976 486E FEE4 pea.l [A6 - 0x11C]
0000497A 206D FA14 movea.l A0, [A5 - 0x5EC]
0000497E 3F28 0012 move.w -[A7], [A0 + 0x12]
00004982 302D FA0E move.w D0, [A5 - 0x5F2]
00004986 906D FA10 sub.w D0, [A5 - 0x5F0]
0000498A 3F00 move.w -[A7], D0
0000498C 206D FA14 movea.l A0, [A5 - 0x5EC]
00004990 3F28 0016 move.w -[A7], [A0 + 0x16]
00004994 3F2D FA0E move.w -[A7], [A5 - 0x5F2]
00004998 A8A7 trap SetRect
0000499A 486E FEE4 pea.l [A6 - 0x11C]
0000499E A8A3 trap EraseRect
000049A0 7005 moveq.l D0, 0x05
000049A2 3F00 move.w -[A7], D0
000049A4 3F2D FA08 move.w -[A7], [A5 - 0x5F8]
000049A8 A893 trap MoveTo
000049AA 605A bra +0x5C /* 00004A06 */
label000049AC:
000049AC 558F subq.l A7, 2
000049AE 7008 moveq.l D0, 0x08
000049B0 3F00 move.w -[A7], D0
000049B2 486E FFEC pea.l [A6 - 0x14]
000049B6 A970 trap GetNextEvent
000049B8 4A1F tst.b [A7]+
000049BA 674A beq +0x4C /* 00004A06 */
000049BC 203C 0000 00FF move.l D0, 0xFF
000049C2 C0AE FFEE and.l D0, [A6 - 0x12]
000049C6 72DF moveq.l D1, 0xFFFFFFDF
000049C8 C280 and.l D1, D0
000049CA 7053 moveq.l D0, 0x53
000049CC B081 cmp.l D0, D1
000049CE 6636 bne +0x38 /* 00004A06 */
000049D0 303C 0100 move.w D0, 0x100
000049D4 C06E FFFA and.w D0, [A6 - 0x6]
000049D8 672C beq +0x2E /* 00004A06 */
label000049DA:
000049DA A9B4 trap SystemTask
000049DC 558F subq.l A7, 2
000049DE 7008 moveq.l D0, 0x08
000049E0 3F00 move.w -[A7], D0
000049E2 486E FFEC pea.l [A6 - 0x14]
000049E6 A970 trap GetNextEvent
000049E8 7000 moveq.l D0, 0x00
000049EA 101F move.b D0, [A7]+
000049EC 4A80 tst.l D0
000049EE 6606 bne +0x8 /* 000049F6 */
000049F0 7000 moveq.l D0, 0x00
000049F2 2D40 FFEE move.l [A6 - 0x12], D0
label000049F6:
000049F6 02AE 0000 00DF FFEE andi.l [A6 - 0x12], 0xDF
000049FE 7051 moveq.l D0, 0x51
00004A00 B0AE FFEE cmp.l D0, [A6 - 0x12]
00004A04 66D4 bne -0x2A /* 000049DA */
label00004A06:
00004A06 2F0C move.l -[A7], A4
00004A08 7000 moveq.l D0, 0x00
00004A0A 3F00 move.w -[A7], D0
00004A0C 2F0C move.l -[A7], A4
00004A0E 4EAD 018A jsr [A5 + 0x18A]
00004A12 588F addq.l A7, 4
00004A14 3F00 move.w -[A7], D0
00004A16 A885 trap DrawText
00004A18 7005 moveq.l D0, 0x05
00004A1A 3F00 move.w -[A7], D0
00004A1C 322D FA10 move.w D1, [A5 - 0x5F0]
00004A20 D36D FA08 add.w [A5 - 0x5F8], D1
00004A24 3F2D FA08 move.w -[A7], [A5 - 0x5F8]
00004A28 A893 trap MoveTo
label00004A2A:
00004A2A 4CEE 1880 FED8 movem.l A4,A3,D7, [A6 - 0x128]
00004A30 4E5E unlink A6
00004A32 4E75 rts
00004A34 8757 or.w [A7], D3
00004A36 5072 696E addq.w <<invalid full ext with IS == 1 and I/IS == 6>>, 8
00004A3A 7466 moveq.l D2, 0x66
00004A3C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004A3E-00004A44
fn00004A3E:
00004A3E 4E56 0000 link A6, 0
00004A42 2F0C move.l -[A7], A4
// end alternate branch 00004A3E-00004A44
fn00004A3E: // (misaligned)
00004A40 0000 2F0C ori.b D0, 0xC
00004A44 49ED F9D8 lea.l A4, [A5 - 0x628]
00004A48 4A2D EB82 tst.b [A5 - 0x147E]
00004A4C 666A bne +0x6C /* 00004AB8 */
00004A4E 4EBA 0F46 jsr [PC + 0xF46 /* 00005996 */]
00004A52 558F subq.l A7, 2
00004A54 4EBA 0F32 jsr [PC + 0xF32 /* 00005988 */]
00004A58 4A5F tst.w [A7]+
00004A5A 6722 beq +0x24 /* 00004A7E */
00004A5C 558F subq.l A7, 2
00004A5E 4EBA 0F28 jsr [PC + 0xF28 /* 00005988 */]
00004A62 301F move.w D0, [A7]+
00004A64 48C0 ext.l D0
00004A66 2F00 move.l -[A7], D0
00004A68 7000 moveq.l D0, 0x00
00004A6A 2F00 move.l -[A7], D0
00004A6C 486D F9E2 pea.l [A5 - 0x61E]
00004A70 2F0C move.l -[A7], A4
00004A72 4EBA D474 jsr [PC - 0x2B8C /* 00001EE8 */]
00004A76 7001 moveq.l D0, 0x01
00004A78 4FEF 0010 lea.l A7, [A7 + 0x10]
00004A7C 603C bra +0x3E /* 00004ABA */
label00004A7E:
00004A7E 1B7C 0001 EB82 move.b [A5 - 0x147E], 0x1
00004A84 2F2D EB7C move.l -[A7], [A5 - 0x1484]
00004A88 4EBA 0EC6 jsr [PC + 0xEC6 /* 00005950 */]
00004A8C 558F subq.l A7, 2
00004A8E 4EBA 0EF8 jsr [PC + 0xEF8 /* 00005988 */]
00004A92 4A5F tst.w [A7]+
00004A94 6722 beq +0x24 /* 00004AB8 */
00004A96 558F subq.l A7, 2
00004A98 4EBA 0EEE jsr [PC + 0xEEE /* 00005988 */]
00004A9C 301F move.w D0, [A7]+
00004A9E 48C0 ext.l D0
00004AA0 2F00 move.l -[A7], D0
00004AA2 7000 moveq.l D0, 0x00
00004AA4 2F00 move.l -[A7], D0
00004AA6 486D F9EA pea.l [A5 - 0x616]
00004AAA 2F0C move.l -[A7], A4
00004AAC 4EBA D43A jsr [PC - 0x2BC6 /* 00001EE8 */]
00004AB0 7001 moveq.l D0, 0x01
00004AB2 4FEF 0010 lea.l A7, [A7 + 0x10]
00004AB6 6002 bra +0x4 /* 00004ABA */
label00004AB8:
00004AB8 7000 moveq.l D0, 0x00
label00004ABA:
00004ABA 286E FFFC movea.l A4, [A6 - 0x4]
00004ABE 4E5E unlink A6
00004AC0 4E75 rts
00004AC2 8750 or.w [A0], D3
00004AC4 7253 moveq.l D1, 0x53
00004AC6 6574 bcs +0x76 /* 00004B3C */
00004AC8 7570 moveq.l D2, 0x70
00004ACA 0000 2057 ori.b D0, 0x57 /* 'W' */
export_0: // at 00004ACC (misaligned)
00004ACE 42A7 clr.l -[A7]
00004AD0 486D FC96 pea.l [A5 - 0x36A]
00004AD4 486D FC92 pea.l [A5 - 0x36E]
00004AD8 486D FC8E pea.l [A5 - 0x372]
00004ADC 2F08 move.l -[A7], A0
00004ADE 4EBA 01C8 jsr [PC + 0x1C8 /* 00004CA8 */]
00004AE2 72FF moveq.l D1, 0xFFFFFFFF
00004AE4 B041 cmp.w D0, D1
00004AE6 672E beq +0x30 /* 00004B16 */
00004AE8 588F addq.l A7, 4
00004AEA 4FEF 0010 lea.l A7, [A7 + 0x10]
00004AEE 486D FEB6 pea.l [A5 - 0x14A]
00004AF2 4EBA 04FC jsr [PC + 0x4FC /* 00004FF0 */]
00004AF6 584F addq.w A7, 4
00004AF8 4A80 tst.l D0
00004AFA 6624 bne +0x26 /* 00004B20 */
00004AFC 2F2D FC96 move.l -[A7], [A5 - 0x36A]
00004B00 2F2D FC92 move.l -[A7], [A5 - 0x36E]
00004B04 2F2D FC8E move.l -[A7], [A5 - 0x372]
00004B08 4EBA B4F6 jsr [PC - 0x4B0A /* 00000000 */]
00004B0C 4FEF 000C lea.l A7, [A7 + 0xC]
00004B10 2F00 move.l -[A7], D0
00004B12 4EBA 038C jsr [PC + 0x38C /* 00004EA0 */]
label00004B16:
00004B16 487A 000A pea.l [PC + 0xA /* 00004B22, pstring "Data initialization failed!" */]
00004B1A 303C FE15 move.w D0, 0xFE15
00004B1E A9C9 trap SysError
label00004B20:
00004B20 4E75 rts
00004B22 1B44 6174 move.b [A5 + 0x6174], D4
00004B26 6120 bsr +0x22 /* 00004B48 */
00004B28 696E bvs +0x70 /* 00004B98 */
00004B2A 6974 bvs +0x76 /* 00004BA0 */
00004B2C 6961 bvs +0x63 /* 00004B8F */
00004B2E 6C69 bge +0x6B /* 00004B99 */
00004B30 7A61 moveq.l D5, 0x61
00004B32 7469 moveq.l D2, 0x69
00004B34 6F6E ble +0x70 /* 00004BA4 */
00004B36 2066 movea.l A0, -[A6]
00004B38 6169 bsr +0x6B /* 00004BA3 */
00004B3A 6C65 bge +0x67 /* 00004BA1 */
label00004B3C:
00004B3C 6421 bcc +0x23 /* 00004B5F */
fn00004B3E:
00004B3E 4E56 FFFC link A6, -0x0004
00004B42 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00004B46 4A6D FDBE tst.w [A5 - 0x242]
// begin alternate branch 00004B48-00004B4A
fn00004B48:
00004B48 FDBE .extension 0xDBE // unimplemented
// end alternate branch 00004B48-00004B4A
fn00004B48: // (misaligned)
00004B4A 6600 00BC bne +0xBE /* 00004C08 */
00004B4E 598F subq.l A7, 4
00004B50 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00004B56 486D FD68 pea.l [A5 - 0x298]
00004B5A A820 trap Get1NamedResource
00004B5C 285F movea.l A4, [A7]+
00004B5E 200C move.l D0, A4
label00004B5F: // (misaligned)
00004B60 6700 00A6 beq +0xA8 /* 00004C08 */
00004B64 558F subq.l A7, 2
00004B66 A994 trap CurResFile
00004B68 558F subq.l A7, 2
00004B6A 2F0C move.l -[A7], A4
00004B6C A9A4 trap HomeResFile
00004B6E 301F move.w D0, [A7]+
00004B70 B05F cmp.w D0, [A7]+
00004B72 6600 0094 bne +0x96 /* 00004C08 */
00004B76 41ED 006A lea.l A0, [A5 + 0x6A]
00004B7A 226D FDDA movea.l A1, [A5 - 0x226]
00004B7E 2348 000C move.l [A1 + 0xC], A0
00004B82 2654 movea.l A3, [A4]
00004B84 3013 move.w D0, [A3]
00004B86 0800 0000 btst.b D0, 0x0
00004B8A 6708 beq +0xA /* 00004B94 */
00004B8C 3B7C 0028 FDBC move.w [A5 - 0x244], 0x28 /* '(' */
label00004B8F: // (misaligned)
00004B92 6006 bra +0x8 /* 00004B9A */
label00004B94:
00004B94 3B7C 0004 FDBC move.w [A5 - 0x244], 0x4
// begin alternate branch 00004B98-00004B9A
label00004B98:
00004B98 FDBC .extension 0xDBC // unimplemented
// end alternate branch 00004B98-00004B9A
label00004B98: // (misaligned)
label00004B99: // (misaligned)
label00004B9A:
00004B9A 598F subq.l A7, 4
00004B9C 2F0C move.l -[A7], A4
00004B9E 4EBA 04D0 jsr [PC + 0x4D0 /* 00005070 */]
// begin alternate branch 00004BA0-00004BA2
label00004BA0:
00004BA0 04D0 subi.? [A0], 0xFFFFFFFFFFFFFFFF
// end alternate branch 00004BA0-00004BA2
label00004BA0: // (misaligned)
label00004BA1: // (misaligned)
00004BA2 302D FDBC move.w D0, [A5 - 0x244]
// begin alternate branch 00004BA4-00004BA6
label00004BA4:
00004BA4 FDBC .extension 0xDBC // unimplemented
// end alternate branch 00004BA4-00004BA6
fn00004BA3: // (misaligned)
label00004BA4: // (misaligned)
00004BA6 48C0 ext.l D0
00004BA8 221F move.l D1, [A7]+
00004BAA 9280 sub.l D1, D0
00004BAC 2001 move.l D0, D1
00004BAE 7204 moveq.l D1, 0x04
00004BB0 4EBA 03A0 jsr [PC + 0x3A0 /* 00004F52 */]
00004BB4 2C00 move.l D6, D0
00004BB6 7000 moveq.l D0, 0x00
00004BB8 2640 movea.l A3, D0
00004BBA 6036 bra +0x38 /* 00004BF2 */
label00004BBC:
00004BBC 2F0C move.l -[A7], A4
00004BBE A9A2 trap LoadResource
00004BC0 302D FDBC move.w D0, [A5 - 0x244]
00004BC4 48C0 ext.l D0
00004BC6 D094 add.l D0, [A4]
00004BC8 2D40 FFFC move.l [A6 - 0x4], D0
00004BCC 302D FDBE move.w D0, [A5 - 0x242]
00004BD0 48C0 ext.l D0
00004BD2 206E FFFC movea.l A0, [A6 - 0x4]
00004BD6 E580 asl D0, 2
00004BD8 3030 0800 move.w D0, [A0 + D0]
00004BDC 48C0 ext.l D0
00004BDE 2E00 move.l D7, D0
00004BE0 6708 beq +0xA /* 00004BEA */
00004BE2 200D move.l D0, A5
00004BE4 2640 movea.l A3, D0
00004BE6 D7C7 add.l A3, D7
00004BE8 4E93 jsr [A3]
label00004BEA:
00004BEA 302D FDBE move.w D0, [A5 - 0x242]
00004BEE 526D FDBE addq.w [A5 - 0x242], 1
label00004BF2:
00004BF2 302D FDBE move.w D0, [A5 - 0x242]
00004BF6 48C0 ext.l D0
00004BF8 BC80 cmp.l D6, D0
00004BFA 6EC0 bgt -0x3E /* 00004BBC */
00004BFC 200B move.l D0, A3
00004BFE 6704 beq +0x6 /* 00004C04 */
00004C00 2F0B move.l -[A7], A3
00004C02 A9F1 trap UnloadSeg
label00004C04:
00004C04 2F0C move.l -[A7], A4
00004C06 A9A3 trap ReleaseResource
label00004C08:
00004C08 4CEE 18C0 FFEC movem.l A4,A3,D7,D6, [A6 - 0x14]
00004C0E 4E5E unlink A6
00004C10 4E75 rts
00004C12 8B5F or.w [A7]+, D5
00004C14 5F43 subq.w D3, 7
00004C16 706C moveq.l D0, 0x6C
00004C18 7573 moveq.l D2, 0x73
00004C1A 496E 6974 chk.w D4, [A6 + 0x6974]
00004C1E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_9: // at 00004C20 (misaligned)
00004C22 FFFC .extension 0xFFC // unimplemented
00004C24 48E7 0118 movem.l -[A7], D7,A3,A4
00004C28 4A6D FDBE tst.w [A5 - 0x242]
00004C2C 6764 beq +0x66 /* 00004C92 */
00004C2E 598F subq.l A7, 4
00004C30 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00004C36 486D FD92 pea.l [A5 - 0x26E]
00004C3A A9A1 trap GetNamedResource
00004C3C 285F movea.l A4, [A7]+
00004C3E 200C move.l D0, A4
00004C40 6750 beq +0x52 /* 00004C92 */
00004C42 558F subq.l A7, 2
00004C44 A994 trap CurResFile
00004C46 558F subq.l A7, 2
00004C48 2F0C move.l -[A7], A4
00004C4A A9A4 trap HomeResFile
00004C4C 301F move.w D0, [A7]+
00004C4E B05F cmp.w D0, [A7]+
00004C50 6640 bne +0x42 /* 00004C92 */
00004C52 6034 bra +0x36 /* 00004C88 */
label00004C54:
00004C54 2F0C move.l -[A7], A4
00004C56 A9A2 trap LoadResource
00004C58 302D FDBC move.w D0, [A5 - 0x244]
00004C5C 48C0 ext.l D0
00004C5E D094 add.l D0, [A4]
00004C60 2D40 FFFC move.l [A6 - 0x4], D0
00004C64 536D FDBE subq.w [A5 - 0x242], 1
00004C68 302D FDBE move.w D0, [A5 - 0x242]
00004C6C 48C0 ext.l D0
00004C6E 206E FFFC movea.l A0, [A6 - 0x4]
00004C72 E580 asl D0, 2
00004C74 3030 0802 move.w D0, [A0 + D0 + 0x2]
00004C78 48C0 ext.l D0
00004C7A 2E00 move.l D7, D0
00004C7C 200D move.l D0, A5
00004C7E 2640 movea.l A3, D0
00004C80 D7C7 add.l A3, D7
00004C82 4A87 tst.l D7
00004C84 6702 beq +0x4 /* 00004C88 */
00004C86 4E93 jsr [A3]
label00004C88:
00004C88 4A6D FDBE tst.w [A5 - 0x242]
00004C8C 6EC6 bgt -0x38 /* 00004C54 */
00004C8E 2F0C move.l -[A7], A4
00004C90 A9A3 trap ReleaseResource
label00004C92:
00004C92 4CEE 1880 FFF0 movem.l A4,A3,D7, [A6 - 0x10]
00004C98 4E5E unlink A6
00004C9A 4E75 rts
00004C9C 8964 or.w -[A4], D4
00004C9E 746F moveq.l D2, 0x6F
00004CA0 7273 moveq.l D1, 0x73
00004CA2 5F5F subq.w [A7]+, 7
00004CA4 4676 0000 not.w [A6 + D0.w]
fn00004CA8:
00004CA8 4E56 0000 link A6, 0
00004CAC 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4
00004CB0 2E2E 0018 move.l D7, [A6 + 0x18]
00004CB4 266E 000C movea.l A3, [A6 + 0xC]
00004CB8 4EAD 01BA jsr [A5 + 0x1BA]
00004CBC 4A80 tst.l D0
00004CBE 6706 beq +0x8 /* 00004CC6 */
00004CC0 70FF moveq.l D0, 0xFFFFFFFF
00004CC2 6000 01C8 bra +0x1CA /* 00004E8C */
label00004CC6:
00004CC6 206D FDDA movea.l A0, [A5 - 0x226]
00004CCA 20AE 0008 move.l [A0], [A6 + 0x8]
00004CCE 7601 moveq.l D3, 0x01
00004CD0 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
00004CD4 672C beq +0x2E /* 00004D02 */
00004CD6 7001 moveq.l D0, 0x01
00004CD8 C0B8 0316 and.l D0, [0x00000316 /* HpChk/MacPgm */]
00004CDC 6624 bne +0x26 /* 00004D02 */
00004CDE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004CE2 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00004CE8 6618 bne +0x1A /* 00004D02 */
00004CEA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004CEE 4AA8 0004 tst.l [A0 + 0x4]
00004CF2 670E beq +0x10 /* 00004D02 */
00004CF4 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004CF8 2068 0004 movea.l A0, [A0 + 0x4]
00004CFC 4A50 tst.w [A0]
00004CFE 6702 beq +0x4 /* 00004D02 */
00004D00 7600 moveq.l D3, 0x00
label00004D02:
00004D02 4883 ext.w D3
00004D04 48C3 ext.l D3
00004D06 2B43 FDC0 move.l [A5 - 0x240], D3
00004D0A 6760 beq +0x62 /* 00004D6C */
00004D0C 41ED FE94 lea.l A0, [A5 - 0x16C]
00004D10 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
00004D14 7007 moveq.l D0, 0x07
label00004D16:
00004D16 20D9 move.l [A0]+, [A1]+
00004D18 51C8 FFFC dbf D0, -0x6 /* 00004D16 */
00004D1C 30D9 move.w [A0]+, [A1]+
00004D1E 41ED FE94 lea.l A0, [A5 - 0x16C]
00004D22 226D FDCA movea.l A1, [A5 - 0x236]
00004D26 2288 move.l [A1], A0
00004D28 4A87 tst.l D7
00004D2A 660E bne +0x10 /* 00004D3A */
00004D2C 598F subq.l A7, 4
00004D2E 206D FDCA movea.l A0, [A5 - 0x236]
00004D32 2F10 move.l -[A7], [A0]
00004D34 4EBA 0F8E jsr [PC + 0xF8E /* 00005CC4 */]
00004D38 584F addq.w A7, 4
label00004D3A:
00004D3A 200B move.l D0, A3
00004D3C 6704 beq +0x6 /* 00004D42 */
00004D3E 7001 moveq.l D0, 0x01
00004D40 2680 move.l [A3], D0
label00004D42:
00004D42 4AAE 0010 tst.l [A6 + 0x10]
00004D46 6708 beq +0xA /* 00004D50 */
00004D48 206E 0010 movea.l A0, [A6 + 0x10]
00004D4C 20AD FDCA move.l [A0], [A5 - 0x236]
label00004D50:
00004D50 4AAE 0014 tst.l [A6 + 0x14]
00004D54 6708 beq +0xA /* 00004D5E */
00004D56 206E 0014 movea.l A0, [A6 + 0x14]
00004D5A 20AD FDCE move.l [A0], [A5 - 0x232]
label00004D5E:
00004D5E 4EBA FDDE jsr [PC - 0x222 /* 00004B3E */]
00004D62 7001 moveq.l D0, 0x01
00004D64 2B40 FDC0 move.l [A5 - 0x240], D0
00004D68 6000 0122 bra +0x124 /* 00004E8C */
label00004D6C:
00004D6C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004D70 2068 0004 movea.l A0, [A0 + 0x4]
00004D74 302D FDC4 move.w D0, [A5 - 0x23C]
00004D78 B050 cmp.w D0, [A0]
00004D7A 670C beq +0xE /* 00004D88 */
00004D7C 2F3C 8000 0000 move.l -[A7], 0x80000000
00004D82 4EBA 013C jsr [PC + 0x13C /* 00004EC0 */]
00004D86 584F addq.w A7, 4
label00004D88:
00004D88 41ED FDC4 lea.l A0, [A5 - 0x23C]
00004D8C 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
00004D90 2269 0004 movea.l A1, [A1 + 0x4]
00004D94 2348 0024 move.l [A1 + 0x24], A0
00004D98 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004D9C 2B68 0004 FDE8 move.l [A5 - 0x218], [A0 + 0x4]
00004DA2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004DA6 2068 0004 movea.l A0, [A0 + 0x4]
00004DAA 2B68 0002 FDC6 move.l [A5 - 0x23A], [A0 + 0x2]
00004DB0 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004DB4 2068 0004 movea.l A0, [A0 + 0x4]
00004DB8 2B68 0006 FDCA move.l [A5 - 0x236], [A0 + 0x6]
00004DBE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004DC2 2068 0004 movea.l A0, [A0 + 0x4]
00004DC6 2B68 000A FDCE move.l [A5 - 0x232], [A0 + 0xA]
00004DCC 4A87 tst.l D7
00004DCE 672C beq +0x2E /* 00004DFC */
00004DD0 286D FDCA movea.l A4, [A5 - 0x236]
00004DD4 600C bra +0xE /* 00004DE2 */
label00004DD6:
00004DD6 598F subq.l A7, 4
00004DD8 2F14 move.l -[A7], [A4]
00004DDA 4EBA 0EB2 jsr [PC + 0xEB2 /* 00005C8E */]
00004DDE 584F addq.w A7, 4
00004DE0 584C addq.w A4, 4
label00004DE2:
00004DE2 4A94 tst.l [A4]
00004DE4 66F0 bne -0xE /* 00004DD6 */
00004DE6 286D FDCE movea.l A4, [A5 - 0x232]
00004DEA 600C bra +0xE /* 00004DF8 */
label00004DEC:
00004DEC 598F subq.l A7, 4
00004DEE 2F14 move.l -[A7], [A4]
00004DF0 4EBA 0E9C jsr [PC + 0xE9C /* 00005C8E */]
00004DF4 584F addq.w A7, 4
00004DF6 584C addq.w A4, 4
label00004DF8:
00004DF8 4A94 tst.l [A4]
00004DFA 66F0 bne -0xE /* 00004DEC */
label00004DFC:
00004DFC 200B move.l D0, A3
00004DFE 6704 beq +0x6 /* 00004E04 */
00004E00 26AD FDC6 move.l [A3], [A5 - 0x23A]
label00004E04:
00004E04 4AAE 0010 tst.l [A6 + 0x10]
00004E08 6708 beq +0xA /* 00004E12 */
00004E0A 206E 0010 movea.l A0, [A6 + 0x10]
00004E0E 20AD FDCA move.l [A0], [A5 - 0x236]
label00004E12:
00004E12 4AAE 0014 tst.l [A6 + 0x14]
00004E16 6708 beq +0xA /* 00004E20 */
00004E18 206E 0014 movea.l A0, [A6 + 0x14]
00004E1C 20AD FDCE move.l [A0], [A5 - 0x232]
label00004E20:
00004E20 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004E24 2068 0004 movea.l A0, [A0 + 0x4]
00004E28 4AA8 0020 tst.l [A0 + 0x20]
00004E2C 6754 beq +0x56 /* 00004E82 */
00004E2E 7078 moveq.l D0, 0x78
00004E30 A11E trap NewPtr, flags=1
00004E32 2B48 FDE4 move.l [A5 - 0x21C], A0
00004E36 660A bne +0xC /* 00004E42 */
00004E38 7002 moveq.l D0, 0x02
00004E3A 2F00 move.l -[A7], D0
00004E3C 4EBA 0082 jsr [PC + 0x82 /* 00004EC0 */]
00004E40 584F addq.w A7, 4
label00004E42:
00004E42 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00004E46 2068 0004 movea.l A0, [A0 + 0x4]
00004E4A 2668 0020 movea.l A3, [A0 + 0x20]
00004E4E 7E00 moveq.l D7, 0x00
00004E50 7605 moveq.l D3, 0x05
label00004E52:
00004E52 2207 move.l D1, D7
00004E54 2001 move.l D0, D1
00004E56 C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
00004E58 0018 4840 ori.b [A0]+, 0x40 /* '@' */
00004E5C C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
00004E5E 0018 4840 ori.b [A0]+, 0x40 /* '@' */
00004E62 4240 clr.w D0
00004E64 D280 add.l D1, D0
00004E66 2C01 move.l D6, D1
00004E68 206D FDE4 movea.l A0, [A5 - 0x21C]
00004E6C 43F3 6800 lea.l A1, [A3 + D6]
00004E70 45F0 6800 lea.l A2, [A0 + D6]
00004E74 7005 moveq.l D0, 0x05
label00004E76:
00004E76 24D9 move.l [A2]+, [A1]+
00004E78 51C8 FFFC dbf D0, -0x6 /* 00004E76 */
00004E7C 5287 addq.l D7, 1
00004E7E B687 cmp.l D3, D7
00004E80 6ED0 bgt -0x2E /* 00004E52 */
label00004E82:
00004E82 4EBA FCBA jsr [PC - 0x346 /* 00004B3E */]
00004E86 7000 moveq.l D0, 0x00
00004E88 2B40 FDC0 move.l [A5 - 0x240], D0
label00004E8C:
00004E8C 4CEE 1CC8 FFE8 movem.l A4,A3,A2,D7,D6,D3, [A6 - 0x18]
00004E92 4E5E unlink A6
00004E94 4E75 rts
00004E96 875F or.w [A7]+, D3
00004E98 5254 addq.w [A4], 1
00004E9A 496E 6974 chk.w D4, [A6 + 0x6974]
00004E9E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004EA0-00004EAA
fn00004EA0:
00004EA0 4E56 0000 link A6, 0
00004EA4 203C 00FF FFFF move.l D0, 0xFFFFFF
// end alternate branch 00004EA0-00004EAA
fn00004EA0: // (misaligned)
00004EA2 0000 203C ori.b D0, 0x3C /* '<' */
00004EA6 00FF ori.? <<invalid special address>>, 0xFFFFFFFFFFFFFFFF
00004EA8 FFFF .extension 0xFFF // unimplemented
00004EAA C0AE 0008 and.l D0, [A6 + 0x8]
00004EAE 2F00 move.l -[A7], D0
00004EB0 4EBA 000E jsr [PC + 0xE /* 00004EC0 */]
00004EB4 4E5E unlink A6
00004EB6 4E75 rts
00004EB8 8465 or.w D2, -[A5]
00004EBA 7869 moveq.l D4, 0x69
00004EBC 7400 moveq.l D2, 0x00
00004EBE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004EC0-00004EC6
fn00004EC0:
00004EC0 4E56 0000 link A6, 0
00004EC4 2F0C move.l -[A7], A4
// end alternate branch 00004EC0-00004EC6
fn00004EC0: // (misaligned)
00004EC2 0000 2F0C ori.b D0, 0xC
00004EC6 206D FDDA movea.l A0, [A5 - 0x226]
00004ECA 49E8 008C lea.l A4, [A0 + 0x8C]
00004ECE 600A bra +0xC /* 00004EDA */
label00004ED0:
00004ED0 4A94 tst.l [A4]
00004ED2 6704 beq +0x6 /* 00004ED8 */
00004ED4 2054 movea.l A0, [A4]
00004ED6 4E90 jsr [A0]
label00004ED8:
00004ED8 594C subq.w A4, 4
label00004EDA:
00004EDA 206D FDDA movea.l A0, [A5 - 0x226]
00004EDE B1CC cmpa.l A0, A4
00004EE0 65EE bcs -0x10 /* 00004ED0 */
00004EE2 4AAD FDE8 tst.l [A5 - 0x218]
00004EE6 670A beq +0xC /* 00004EF2 */
00004EE8 206D FDE8 movea.l A0, [A5 - 0x218]
00004EEC 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8]
label00004EF2:
00004EF2 4AAD FECE tst.l [A5 - 0x132]
00004EF6 660A bne +0xC /* 00004F02 */
00004EF8 206D FDDA movea.l A0, [A5 - 0x226]
00004EFC 2250 movea.l A1, [A0]
00004EFE 4E91 jsr [A1]
00004F00 600E bra +0x10 /* 00004F10 */
label00004F02:
00004F02 7001 moveq.l D0, 0x01
00004F04 2F00 move.l -[A7], D0
00004F06 486D FEB6 pea.l [A5 - 0x14A]
00004F0A 4EBA 00F0 jsr [PC + 0xF0 /* 00004FFC */]
00004F0E 504F addq.w A7, 8
label00004F10:
00004F10 286E FFFC movea.l A4, [A6 - 0x4]
00004F14 4E5E unlink A6
00004F16 4E75 rts
00004F18 875F or.w [A7]+, D3
00004F1A 5254 addq.w [A4], 1
00004F1C 4578 6974 chk.w D2, [0x00006974]
00004F20 0000 202F ori.b D0, 0x2F /* '/' */
00004F24 0004 222F ori.b D4, 0x2F /* '/' */
00004F28 0008 2F02 ori.b A0, 0x2
// begin alternate branch 00004F2A-00004F2C
export_10:
fn00004F2A:
00004F2A 2F02 move.l -[A7], D2
// end alternate branch 00004F2A-00004F2C
export_10: // at 00004F2A (misaligned)
fn00004F2A: // (misaligned)
00004F2C 2400 move.l D2, D0
00004F2E C4C1 mulu.w D2, D1
00004F30 2042 movea.l A0, D2
00004F32 2401 move.l D2, D1
00004F34 4842 swap.w D2
00004F36 C4C0 mulu.w D2, D0
00004F38 4840 swap.w D0
00004F3A C2C0 mulu.w D1, D0
00004F3C D441 add.w D2, D1
00004F3E 4842 swap.w D2
00004F40 4242 clr.w D2
00004F42 D1C2 add.l A0, D2
00004F44 2008 move.l D0, A0
00004F46 241F move.l D2, [A7]+
00004F48 4E75 rts
00004F4A 222F 0004 move.l D1, [A7 + 0x4]
00004F4E 202F 0008 move.l D0, [A7 + 0x8]
export_11:
fn00004F52:
00004F52 4EBA 001E jsr [PC + 0x1E /* 00004F72 */]
00004F56 2001 move.l D0, D1
00004F58 4E75 rts
00004F5A 222F 0004 move.l D1, [A7 + 0x4]
00004F5E 202F 0008 move.l D0, [A7 + 0x8]
export_12:
fn00004F62:
00004F62 4EBA 003C jsr [PC + 0x3C /* 00004FA0 */]
00004F66 2001 move.l D0, D1
00004F68 4E75 rts
00004F6A 222F 0004 move.l D1, [A7 + 0x4]
00004F6E 202F 0008 move.l D0, [A7 + 0x8]
export_13:
fn00004F72:
00004F72 48E7 0600 movem.l -[A7], D5,D6
00004F76 2A00 move.l D5, D0
00004F78 6A02 bpl +0x4 /* 00004F7C */
00004F7A 4480 neg.l D0
label00004F7C:
00004F7C 2C01 move.l D6, D1
00004F7E 6A02 bpl +0x4 /* 00004F82 */
00004F80 4481 neg.l D1
label00004F82:
00004F82 4EBA 001C jsr [PC + 0x1C /* 00004FA0 */]
00004F86 4A85 tst.l D5
00004F88 6A02 bpl +0x4 /* 00004F8C */
00004F8A 4480 neg.l D0
label00004F8C:
00004F8C BB86 xor.l D6, D5
00004F8E 6A02 bpl +0x4 /* 00004F92 */
00004F90 4481 neg.l D1
label00004F92:
00004F92 4CDF 0060 movem.l D6,D5, [A7]+
00004F96 4E75 rts
00004F98 222F 0004 move.l D1, [A7 + 0x4]
00004F9C 202F 0008 move.l D0, [A7 + 0x8]
export_14:
fn00004FA0:
00004FA0 48E7 3800 movem.l -[A7], D2,D3,D4
00004FA4 2401 move.l D2, D1
00004FA6 4842 swap.w D2
00004FA8 4A42 tst.w D2
00004FAA 661C bne +0x1E /* 00004FC8 */
00004FAC 3600 move.w D3, D0
00004FAE 4240 clr.w D0
00004FB0 4840 swap.w D0
00004FB2 6704 beq +0x6 /* 00004FB8 */
00004FB4 80C1 divu.w D0, D1
00004FB6 3400 move.w D2, D0
label00004FB8:
00004FB8 4842 swap.w D2
00004FBA 3003 move.w D0, D3
00004FBC 80C1 divu.w D0, D1
00004FBE 3400 move.w D2, D0
00004FC0 2202 move.l D1, D2
00004FC2 4240 clr.w D0
00004FC4 4840 swap.w D0
00004FC6 6022 bra +0x24 /* 00004FEA */
label00004FC8:
00004FC8 2400 move.l D2, D0
00004FCA 4240 clr.w D0
00004FCC 4840 swap.w D0
00004FCE 4842 swap.w D2
00004FD0 4242 clr.w D2
00004FD2 2601 move.l D3, D1
00004FD4 7200 moveq.l D1, 0x00
00004FD6 780F moveq.l D4, 0x0F
label00004FD8:
00004FD8 D482 add.l D2, D2
00004FDA D180 addx.l D0, D0
00004FDC D281 add.l D1, D1
00004FDE B083 cmp.l D0, D3
00004FE0 6504 bcs +0x6 /* 00004FE6 */
00004FE2 9083 sub.l D0, D3
00004FE4 5201 addq.b D1, 1
label00004FE6:
00004FE6 51CC FFF0 dbf D4, -0x12 /* 00004FD8 */
label00004FEA:
00004FEA 4CDF 001C movem.l D4,D3,D2, [A7]+
00004FEE 4E75 rts
fn00004FF0:
00004FF0 225F movea.l A1, [A7]+
00004FF2 2057 movea.l A0, [A7]
00004FF4 48D0 DEFC movem.l [A0], A7,A6,A4,A3,A2,A1,D7,D6,D5,D4,D3,D2
00004FF8 7000 moveq.l D0, 0x00
00004FFA 4ED1 jmp [A1]
fn00004FFC:
00004FFC 202F 0008 move.l D0, [A7 + 0x8]
00005000 6602 bne +0x4 /* 00005004 */
00005002 7001 moveq.l D0, 0x01
label00005004:
00005004 206F 0004 movea.l A0, [A7 + 0x4]
00005008 4CD0 DEFC movem.l A7,A6,A4,A3,A2,A1,D7,D6,D5,D4,D3,D2, [A0]
0000500C 4ED1 jmp [A1]
export_15:
0000500E 4E56 0000 link A6, 0
00005012 48E7 0300 movem.l -[A7], D6,D7
00005016 2C2E 0008 move.l D6, [A6 + 0x8]
0000501A 4AAD FDD6 tst.l [A5 - 0x22A]
0000501E 6608 bne +0xA /* 00005028 */
00005020 41ED FFA4 lea.l A0, [A5 - 0x5C]
00005024 2B48 FDD6 move.l [A5 - 0x22A], A0
label00005028:
00005028 206D FDD6 movea.l A0, [A5 - 0x22A]
0000502C 4268 0002 clr.w [A0 + 0x2]
00005030 7E01 moveq.l D7, 0x01
00005032 6004 bra +0x6 /* 00005038 */
label00005034:
00005034 E286 asr D6, 1
00005036 5287 addq.l D7, 1
label00005038:
00005038 7001 moveq.l D0, 0x01
0000503A C086 and.l D0, D6
0000503C 67F6 beq -0x8 /* 00005034 */
0000503E 2007 move.l D0, D7
00005040 E148 lsl D0.w, 8
00005042 4840 swap.w D0
00005044 4240 clr.w D0
00005046 2F00 move.l -[A7], D0
00005048 4EBA FE76 jsr [PC - 0x18A /* 00004EC0 */]
0000504C 584F addq.w A7, 4
0000504E 4CEE 00C0 FFF8 movem.l D7,D6, [A6 - 0x8]
00005054 4E5E unlink A6
00005056 4E75 rts
00005058 8773 6967 or.w <<invalid full ext with IS == 1 and I/IS == 7>>, D3
0000505C 5F64 subq.w -[A4], 7
0000505E 666C bne +0x6E /* 000050CC */
00005060 0000 225F ori.b D0, 0x5F /* '_' */
export_16: // at 00005062 (misaligned)
00005064 205F movea.l A0, [A7]+
00005066 A021 trap GetPtrSize
00005068 2E80 move.l [A7], D0
0000506A 6A02 bpl +0x4 /* 0000506E */
0000506C 4297 clr.l [A7]
label0000506E:
0000506E 4ED1 jmp [A1]
fn00005070:
00005070 225F movea.l A1, [A7]+
00005072 205F movea.l A0, [A7]+
00005074 A025 trap GetHandleSize
00005076 2E80 move.l [A7], D0
00005078 6A02 bpl +0x4 /* 0000507C */
0000507A 4297 clr.l [A7]
label0000507C:
0000507C 4ED1 jmp [A1]
fn0000507E:
0000507E 4E56 FFCE link A6, -0x0032
00005082 204F movea.l A0, A7
00005084 317C FFFB 0018 move.w [A0 + 0x18], 0xFFFB
0000508A 317C 0007 001A move.w [A0 + 0x1A], 0x7
00005090 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00005096 A004 trap Control
00005098 3D40 000A move.w [A6 + 0xA], D0
0000509C 4E5E unlink A6
0000509E 225F movea.l A1, [A7]+
000050A0 544F addq.w A7, 2
000050A2 4ED1 jmp [A1]
export_17:
000050A4 206F 000C movea.l A0, [A7 + 0xC]
000050A8 226F 0008 movea.l A1, [A7 + 0x8]
000050AC 7000 moveq.l D0, 0x00
000050AE 1018 move.b D0, [A0]+
000050B0 4840 swap.w D0
000050B2 1019 move.b D0, [A1]+
000050B4 4A2F 0004 tst.b [A7 + 0x4]
000050B8 670E beq +0x10 /* 000050C8 */
000050BA 4A2F 0006 tst.b [A7 + 0x6]
000050BE 6704 beq +0x6 /* 000050C4 */
000050C0 A43C trap CmpString, flags=4
000050C2 6010 bra +0x12 /* 000050D4 */
label000050C4:
000050C4 A03C trap CmpString
000050C6 600C bra +0xE /* 000050D4 */
label000050C8:
000050C8 4A2F 0006 tst.b [A7 + 0x6]
label000050CC:
000050CC 6704 beq +0x6 /* 000050D2 */
000050CE A63C trap CmpString, flags=6
000050D0 6002 bra +0x4 /* 000050D4 */
label000050D2:
000050D2 A23C trap CmpString, flags=2
label000050D4:
000050D4 0A00 0001 xori.b D0, 0x1
000050D8 1F40 0010 move.b [A7 + 0x10], D0
000050DC 205F movea.l A0, [A7]+
000050DE 4FEF 000C lea.l A7, [A7 + 0xC]
000050E2 4ED0 jmp [A0]
export_18:
000050E4 225F movea.l A1, [A7]+
000050E6 101F move.b D0, [A7]+
000050E8 205F movea.l A0, [A7]+
000050EA 6604 bne +0x6 /* 000050F0 */
000050EC A000 trap Open/PBHOpen/HOpen
000050EE 6002 bra +0x4 /* 000050F2 */
label000050F0:
000050F0 A400 trap Open/PBHOpen/HOpen, flags=4
label000050F2:
000050F2 3E80 move.w [A7], D0
000050F4 4ED1 jmp [A1]
export_19:
fn000050F6:
000050F6 225F movea.l A1, [A7]+
000050F8 101F move.b D0, [A7]+
000050FA 205F movea.l A0, [A7]+
000050FC 6604 bne +0x6 /* 00005102 */
000050FE A001 trap Close
00005100 6002 bra +0x4 /* 00005104 */
label00005102:
00005102 A401 trap Close, flags=4
label00005104:
00005104 3E80 move.w [A7], D0
00005106 4ED1 jmp [A1]
fn00005108:
00005108 225F movea.l A1, [A7]+
0000510A 101F move.b D0, [A7]+
0000510C 205F movea.l A0, [A7]+
0000510E 6604 bne +0x6 /* 00005114 */
00005110 A002 trap Read
00005112 6002 bra +0x4 /* 00005116 */
label00005114:
00005114 A402 trap Read, flags=4
label00005116:
00005116 3E80 move.w [A7], D0
00005118 4ED1 jmp [A1]
fn0000511A:
0000511A 225F movea.l A1, [A7]+
0000511C 101F move.b D0, [A7]+
0000511E 205F movea.l A0, [A7]+
00005120 6604 bne +0x6 /* 00005126 */
00005122 A003 trap Write
00005124 6002 bra +0x4 /* 00005128 */
label00005126:
00005126 A403 trap Write, flags=4
label00005128:
00005128 3E80 move.w [A7], D0
0000512A 4ED1 jmp [A1]
fn0000512C:
0000512C 225F movea.l A1, [A7]+
0000512E 101F move.b D0, [A7]+
00005130 205F movea.l A0, [A7]+
00005132 6604 bne +0x6 /* 00005138 */
00005134 A004 trap Control
00005136 6002 bra +0x4 /* 0000513A */
label00005138:
00005138 A404 trap Control, flags=4
label0000513A:
0000513A 3E80 move.w [A7], D0
0000513C 4ED1 jmp [A1]
export_20:
0000513E 225F movea.l A1, [A7]+
00005140 101F move.b D0, [A7]+
00005142 205F movea.l A0, [A7]+
00005144 6604 bne +0x6 /* 0000514A */
00005146 A008 trap Create/PBHCreate/HCreate
00005148 6002 bra +0x4 /* 0000514C */
label0000514A:
0000514A A408 trap Create/PBHCreate/HCreate, flags=4
label0000514C:
0000514C 3E80 move.w [A7], D0
0000514E 4ED1 jmp [A1]
export_21:
00005150 225F movea.l A1, [A7]+
00005152 101F move.b D0, [A7]+
00005154 205F movea.l A0, [A7]+
00005156 6604 bne +0x6 /* 0000515C */
00005158 A00A trap OpenRF/PBHOpenRF/HOpenRF
0000515A 6002 bra +0x4 /* 0000515E */
label0000515C:
0000515C A40A trap OpenRF/PBHOpenRF/HOpenRF, flags=4
label0000515E:
0000515E 3E80 move.w [A7], D0
00005160 4ED1 jmp [A1]
export_22:
fn00005162:
00005162 225F movea.l A1, [A7]+
00005164 101F move.b D0, [A7]+
00005166 205F movea.l A0, [A7]+
00005168 6604 bne +0x6 /* 0000516E */
0000516A A012 trap SetEOF
0000516C 6002 bra +0x4 /* 00005170 */
label0000516E:
0000516E A412 trap SetEOF, flags=4
label00005170:
00005170 3E80 move.w [A7], D0
00005172 4ED1 jmp [A1]
fn00005174:
00005174 4E56 FFCE link A6, -0x0032
00005178 204F movea.l A0, A7
0000517A 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00005180 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00005186 4228 001A clr.b [A0 + 0x1A]
0000518A 4228 001B clr.b [A0 + 0x1B]
0000518E 42A8 001C clr.l [A0 + 0x1C]
00005192 701A moveq.l D0, 0x1A
00005194 A060 trap FSDispatch/HFSDispatch
00005196 0C40 FFCE cmpi.w D0, 0xFFCE
0000519A 6602 bne +0x4 /* 0000519E */
0000519C A000 trap Open/PBHOpen/HOpen
label0000519E:
0000519E 226E 0008 movea.l A1, [A6 + 0x8]
000051A2 32A8 0018 move.w [A1], [A0 + 0x18]
000051A6 3D40 0012 move.w [A6 + 0x12], D0
000051AA 4E5E unlink A6
000051AC 205F movea.l A0, [A7]+
000051AE 4FEF 000A lea.l A7, [A7 + 0xA]
000051B2 4ED0 jmp [A0]
export_23:
fn000051B4:
000051B4 4E56 FFCE link A6, -0x0032
000051B8 204F movea.l A0, A7
000051BA 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000051C0 A001 trap Close
000051C2 3D40 000A move.w [A6 + 0xA], D0
000051C6 4E5E unlink A6
000051C8 205F movea.l A0, [A7]+
000051CA 548F addq.l A7, 2
000051CC 4ED0 jmp [A0]
export_24:
fn000051CE:
000051CE 51C1 sf D1
000051D0 6002 bra +0x4 /* 000051D4 */
export_25:
000051D2 50C1 st D1
label000051D4:
000051D4 4E56 FFCE link A6, -0x0032
000051D8 204F movea.l A0, A7
000051DA 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000051E0 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
000051E6 226E 000C movea.l A1, [A6 + 0xC]
000051EA 2151 0024 move.l [A0 + 0x24], [A1]
000051EE 4268 002C clr.w [A0 + 0x2C]
000051F2 42A8 002E clr.l [A0 + 0x2E]
000051F6 4A01 tst.b D1
000051F8 6604 bne +0x6 /* 000051FE */
000051FA A002 trap Read
000051FC 6002 bra +0x4 /* 00005200 */
label000051FE:
000051FE A003 trap Write
label00005200:
00005200 3D40 0012 move.w [A6 + 0x12], D0
00005204 226E 000C movea.l A1, [A6 + 0xC]
00005208 22A8 0028 move.l [A1], [A0 + 0x28]
0000520C 4E5E unlink A6
0000520E 225F movea.l A1, [A7]+
00005210 4FEF 000A lea.l A7, [A7 + 0xA]
00005214 4ED1 jmp [A1]
export_26:
00005216 4E56 FFB0 link A6, -0x0050
0000521A 204F movea.l A0, A7
0000521C 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00005222 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00005228 4228 001A clr.b [A0 + 0x1A]
0000522C 4268 001C clr.w [A0 + 0x1C]
00005230 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo
00005232 3D40 0012 move.w [A6 + 0x12], D0
00005236 41E8 0020 lea.l A0, [A0 + 0x20]
0000523A 226E 0008 movea.l A1, [A6 + 0x8]
0000523E 7010 moveq.l D0, 0x10
00005240 A02E trap BlockMove/BlockMoveData
00005242 4E5E unlink A6
00005244 225F movea.l A1, [A7]+
00005246 4FEF 000A lea.l A7, [A7 + 0xA]
0000524A 4ED1 jmp [A1]
export_27:
0000524C 4E56 FFCE link A6, -0x0032
00005250 204F movea.l A0, A7
00005252 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00005258 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000525E 4228 001A clr.b [A0 + 0x1A]
00005262 A009 trap Delete/PBHDelete/HDelete
00005264 3D40 000E move.w [A6 + 0xE], D0
00005268 4E5E unlink A6
0000526A 225F movea.l A1, [A7]+
0000526C 5C8F addq.l A7, 6
0000526E 4ED1 jmp [A1]
export_28:
00005270 4E56 FFCE link A6, -0x0032
00005274 204F movea.l A0, A7
00005276 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000527C 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00005282 4228 001A clr.b [A0 + 0x1A]
00005286 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000528C A00B trap Rename/PBHRename/HRename
0000528E 3D40 0012 move.w [A6 + 0x12], D0
00005292 4E5E unlink A6
00005294 225F movea.l A1, [A7]+
00005296 4FEF 000A lea.l A7, [A7 + 0xA]
0000529A 4ED1 jmp [A1]
export_29:
0000529C 4E56 FFB0 link A6, -0x0050
000052A0 204F movea.l A0, A7
000052A2 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000052A8 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000052AE 4228 001A clr.b [A0 + 0x1A]
000052B2 4268 001C clr.w [A0 + 0x1C]
000052B6 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo
000052B8 43E8 0020 lea.l A1, [A0 + 0x20]
000052BC 206E 0008 movea.l A0, [A6 + 0x8]
000052C0 7010 moveq.l D0, 0x10
000052C2 A02E trap BlockMove/BlockMoveData
000052C4 204F movea.l A0, A7
000052C6 A00D trap SetFileInfo/PBHSetFInfo/HSetFileInfo
000052C8 3D40 0012 move.w [A6 + 0x12], D0
000052CC 4E5E unlink A6
000052CE 225F movea.l A1, [A7]+
000052D0 4FEF 000A lea.l A7, [A7 + 0xA]
000052D4 4ED1 jmp [A1]
export_30:
000052D6 4E56 FFCE link A6, -0x0032
000052DA 204F movea.l A0, A7
000052DC 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
000052E2 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
000052E8 A012 trap SetEOF
000052EA 3D40 000E move.w [A6 + 0xE], D0
000052EE 4E5E unlink A6
000052F0 225F movea.l A1, [A7]+
000052F2 5C8F addq.l A7, 6
000052F4 4ED1 jmp [A1]
export_31:
000052F6 4E56 FFCE link A6, -0x0032
000052FA 204F movea.l A0, A7
000052FC 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00005302 A018 trap GetFPos
00005304 3D40 000E move.w [A6 + 0xE], D0
00005308 226E 0008 movea.l A1, [A6 + 0x8]
0000530C 22A8 002E move.l [A1], [A0 + 0x2E]
00005310 4E5E unlink A6
00005312 225F movea.l A1, [A7]+
00005314 5C8F addq.l A7, 6
00005316 4ED1 jmp [A1]
export_32:
00005318 4E56 FFCE link A6, -0x0032
0000531C 204F movea.l A0, A7
0000531E 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00005324 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
0000532A 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00005330 A044 trap SetFPos
00005332 3D40 0010 move.w [A6 + 0x10], D0
00005336 4E5E unlink A6
00005338 225F movea.l A1, [A7]+
0000533A 508F addq.l A7, 8
0000533C 4ED1 jmp [A1]
fn0000533E:
0000533E 225F movea.l A1, [A7]+
00005340 101F move.b D0, [A7]+
00005342 205F movea.l A0, [A7]+
00005344 6606 bne +0x8 /* 0000534C */
00005346 7001 moveq.l D0, 0x01
00005348 A260 trap FSDispatch/HFSDispatch, flags=2
0000534A 6004 bra +0x6 /* 00005350 */
label0000534C:
0000534C 7001 moveq.l D0, 0x01
0000534E A660 trap FSDispatch/HFSDispatch, flags=6
label00005350:
00005350 3E80 move.w [A7], D0
00005352 4ED1 jmp [A1]
fn00005354:
00005354 225F movea.l A1, [A7]+
00005356 101F move.b D0, [A7]+
00005358 205F movea.l A0, [A7]+
0000535A 6606 bne +0x8 /* 00005362 */
0000535C 7002 moveq.l D0, 0x02
0000535E A260 trap FSDispatch/HFSDispatch, flags=2
00005360 6004 bra +0x6 /* 00005366 */
label00005362:
00005362 7002 moveq.l D0, 0x02
00005364 A660 trap FSDispatch/HFSDispatch, flags=6
label00005366:
00005366 3E80 move.w [A7], D0
00005368 4ED1 jmp [A1]
fn0000536A:
0000536A 225F movea.l A1, [A7]+
0000536C 101F move.b D0, [A7]+
0000536E 205F movea.l A0, [A7]+
00005370 6604 bne +0x6 /* 00005376 */
00005372 A214 trap GetVol/PBHGetVol/HGetVol, flags=2
00005374 6002 bra +0x4 /* 00005378 */
label00005376:
00005376 A614 trap GetVol/PBHGetVol/HGetVol, flags=6
label00005378:
00005378 3E80 move.w [A7], D0
0000537A 4ED1 jmp [A1]
fn0000537C:
0000537C 225F movea.l A1, [A7]+
0000537E 101F move.b D0, [A7]+
00005380 205F movea.l A0, [A7]+
00005382 6606 bne +0x8 /* 0000538A */
00005384 7006 moveq.l D0, 0x06
00005386 A260 trap FSDispatch/HFSDispatch, flags=2
00005388 6004 bra +0x6 /* 0000538E */
label0000538A:
0000538A 7006 moveq.l D0, 0x06
0000538C A660 trap FSDispatch/HFSDispatch, flags=6
label0000538E:
0000538E 3E80 move.w [A7], D0
00005390 4ED1 jmp [A1]
export_33:
00005392 225F movea.l A1, [A7]+
00005394 101F move.b D0, [A7]+
00005396 205F movea.l A0, [A7]+
00005398 6606 bne +0x8 /* 000053A0 */
0000539A 7008 moveq.l D0, 0x08
0000539C A260 trap FSDispatch/HFSDispatch, flags=2
0000539E 6004 bra +0x6 /* 000053A4 */
label000053A0:
000053A0 7008 moveq.l D0, 0x08
000053A2 A660 trap FSDispatch/HFSDispatch, flags=6
label000053A4:
000053A4 3E80 move.w [A7], D0
000053A6 4ED1 jmp [A1]
fn000053A8:
000053A8 225F movea.l A1, [A7]+
000053AA 101F move.b D0, [A7]+
000053AC 205F movea.l A0, [A7]+
000053AE 6606 bne +0x8 /* 000053B6 */
000053B0 7009 moveq.l D0, 0x09
000053B2 A260 trap FSDispatch/HFSDispatch, flags=2
000053B4 6004 bra +0x6 /* 000053BA */
label000053B6:
000053B6 7009 moveq.l D0, 0x09
000053B8 A660 trap FSDispatch/HFSDispatch, flags=6
label000053BA:
000053BA 3E80 move.w [A7], D0
000053BC 4ED1 jmp [A1]
fn000053BE:
000053BE 225F movea.l A1, [A7]+
000053C0 101F move.b D0, [A7]+
000053C2 205F movea.l A0, [A7]+
000053C4 6604 bne +0x6 /* 000053CA */
000053C6 A207 trap GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000053C8 6002 bra +0x4 /* 000053CC */
label000053CA:
000053CA A607 trap GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label000053CC:
000053CC 3E80 move.w [A7], D0
000053CE 4ED1 jmp [A1]
export_34:
fn000053D0:
000053D0 225F movea.l A1, [A7]+
000053D2 101F move.b D0, [A7]+
000053D4 205F movea.l A0, [A7]+
000053D6 6604 bne +0x6 /* 000053DC */
000053D8 A200 trap OpenSlot, flags=2
000053DA 6002 bra +0x4 /* 000053DE */
label000053DC:
000053DC A600 trap Open/PBHOpen/HOpen, flags=6
label000053DE:
000053DE 3E80 move.w [A7], D0
000053E0 4ED1 jmp [A1]
export_35:
000053E2 225F movea.l A1, [A7]+
000053E4 101F move.b D0, [A7]+
000053E6 205F movea.l A0, [A7]+
000053E8 6604 bne +0x6 /* 000053EE */
000053EA A20A trap OpenRF/PBHOpenRF/HOpenRF, flags=2
000053EC 6002 bra +0x4 /* 000053F0 */
label000053EE:
000053EE A60A trap OpenRF/PBHOpenRF/HOpenRF, flags=6
label000053F0:
000053F0 3E80 move.w [A7], D0
000053F2 4ED1 jmp [A1]
fn000053F4:
000053F4 225F movea.l A1, [A7]+
000053F6 101F move.b D0, [A7]+
000053F8 205F movea.l A0, [A7]+
000053FA 6604 bne +0x6 /* 00005400 */
000053FC A208 trap Create/PBHCreate/HCreate, flags=2
000053FE 6002 bra +0x4 /* 00005402 */
label00005400:
00005400 A608 trap Create/PBHCreate/HCreate, flags=6
label00005402:
00005402 3E80 move.w [A7], D0
00005404 4ED1 jmp [A1]
fn00005406:
00005406 225F movea.l A1, [A7]+
00005408 101F move.b D0, [A7]+
0000540A 205F movea.l A0, [A7]+
0000540C 6604 bne +0x6 /* 00005412 */
0000540E A209 trap Delete/PBHDelete/HDelete, flags=2
00005410 6002 bra +0x4 /* 00005414 */
label00005412:
00005412 A609 trap Delete/PBHDelete/HDelete, flags=6
label00005414:
00005414 3E80 move.w [A7], D0
00005416 4ED1 jmp [A1]
fn00005418:
00005418 225F movea.l A1, [A7]+
0000541A 101F move.b D0, [A7]+
0000541C 205F movea.l A0, [A7]+
0000541E 6604 bne +0x6 /* 00005424 */
00005420 A20C trap GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00005422 6002 bra +0x4 /* 00005426 */
label00005424:
00005424 A60C trap GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label00005426:
00005426 3E80 move.w [A7], D0
00005428 4ED1 jmp [A1]
fn0000542A:
0000542A 225F movea.l A1, [A7]+
0000542C 101F move.b D0, [A7]+
0000542E 205F movea.l A0, [A7]+
00005430 6604 bne +0x6 /* 00005436 */
00005432 A20D trap SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00005434 6002 bra +0x4 /* 00005438 */
label00005436:
00005436 A60D trap SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
label00005438:
00005438 3E80 move.w [A7], D0
0000543A 4ED1 jmp [A1]
fn0000543C:
0000543C 226F 0004 movea.l A1, [A7 + 0x4]
00005440 4251 clr.w [A1]
00005442 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00005446 A025 trap GetHandleSize
00005448 4A80 tst.l D0
0000544A 6F0E ble +0x10 /* 0000545A */
0000544C 2050 movea.l A0, [A0]
0000544E 226F 0008 movea.l A1, [A7 + 0x8]
00005452 3298 move.w [A1], [A0]+
00005454 226F 0004 movea.l A1, [A7 + 0x4]
00005458 3290 move.w [A1], [A0]
label0000545A:
0000545A 205F movea.l A0, [A7]+
0000545C 504F addq.w A7, 8
0000545E 4ED0 jmp [A0]
fn00005460:
00005460 48E7 0030 movem.l -[A7], A2,A3
00005464 226F 000C movea.l A1, [A7 + 0xC]
00005468 42A9 0002 clr.l [A1 + 0x2]
0000546C 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00005470 A025 trap GetHandleSize
00005472 4A80 tst.l D0
00005474 6F26 ble +0x28 /* 0000549C */
00005476 2450 movea.l A2, [A0]
00005478 544A addq.w A2, 2
0000547A 322F 0010 move.w D1, [A7 + 0x10]
0000547E B25A cmp.w D1, [A2]+
00005480 6E1A bgt +0x1C /* 0000549C */
00005482 5341 subq.w D1, 1
label00005484:
00005484 6D16 blt +0x18 /* 0000549C */
00005486 204A movea.l A0, A2
00005488 7002 moveq.l D0, 0x02
0000548A D028 0008 add.b D0, [A0 + 0x8]
0000548E 0240 FFFE andi.w D0, 0xFFFE
00005492 5040 addq.w D0, 8
00005494 D4C0 add.w A2, D0
00005496 A02E trap BlockMove/BlockMoveData
00005498 5341 subq.w D1, 1
0000549A 60E8 bra -0x16 /* 00005484 */
label0000549C:
0000549C 4CDF 0C00 movem.l A3,A2, [A7]+
000054A0 205F movea.l A0, [A7]+
000054A2 5C4F addq.w A7, 6
000054A4 4ED0 jmp [A0]
fn000054A6:
000054A6 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000054AA A025 trap GetHandleSize
000054AC 4A80 tst.l D0
000054AE 6F28 ble +0x2A /* 000054D8 */
000054B0 2050 movea.l A0, [A0]
000054B2 5448 addq.w A0, 2
000054B4 322F 0004 move.w D1, [A7 + 0x4]
000054B8 B258 cmp.w D1, [A0]+
000054BA 6E1C bgt +0x1E /* 000054D8 */
000054BC 5341 subq.w D1, 1
label000054BE:
000054BE 6D18 blt +0x1A /* 000054D8 */
000054C0 6712 beq +0x14 /* 000054D4 */
000054C2 7002 moveq.l D0, 0x02
000054C4 D028 0008 add.b D0, [A0 + 0x8]
000054C8 0240 FFFE andi.w D0, 0xFFFE
000054CC 5040 addq.w D0, 8
000054CE D0C0 add.w A0, D0
000054D0 5341 subq.w D1, 1
000054D2 60EA bra -0x14 /* 000054BE */
label000054D4:
000054D4 42A8 0002 clr.l [A0 + 0x2]
label000054D8:
000054D8 205F movea.l A0, [A7]+
000054DA 544F addq.w A7, 2
000054DC 4ED0 jmp [A0]
export_36:
000054DE 4E56 FFCC link A6, -0x0034
000054E2 2F07 move.l -[A7], D7
000054E4 2D6E 0010 FFDE move.l [A6 - 0x22], [A6 + 0x10]
000054EA 558F subq.l A7, 2
000054EC 486E FFCC pea.l [A6 - 0x34]
000054F0 7000 moveq.l D0, 0x00
000054F2 1F00 move.b -[A7], D0
000054F4 4EBA FE74 jsr [PC - 0x18C /* 0000536A */]
000054F8 3E1F move.w D7, [A7]+
000054FA 206E 000C movea.l A0, [A6 + 0xC]
000054FE 30AE FFE2 move.w [A0], [A6 - 0x1E]
00005502 206E 0008 movea.l A0, [A6 + 0x8]
00005506 20AE FFFC move.l [A0], [A6 - 0x4]
0000550A 3D47 0014 move.w [A6 + 0x14], D7
0000550E 2E2E FFC8 move.l D7, [A6 - 0x38]
00005512 4E5E unlink A6
00005514 205F movea.l A0, [A7]+
00005516 4FEF 000C lea.l A7, [A7 + 0xC]
0000551A 4ED0 jmp [A0]
0000551C 8748 4745 pack -[A3], -[A0], 0x4745
00005520 5456 addq.w [A6], 2
00005522 4F4C chk.w D7, A4
00005524 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_37: // at 00005526 (misaligned)
00005528 FF86 .extension 0xF86 // unimplemented
0000552A 3D6E 0010 FF9C move.w [A6 - 0x64], [A6 + 0x10]
00005530 2D6E 000C FFB6 move.l [A6 - 0x4A], [A6 + 0xC]
00005536 2D6E 0008 FF98 move.l [A6 - 0x68], [A6 + 0x8]
0000553C 422E FFA0 clr.b [A6 - 0x60]
00005540 558F subq.l A7, 2
00005542 486E FF86 pea.l [A6 - 0x7A]
00005546 7000 moveq.l D0, 0x00
00005548 1F00 move.b -[A7], D0
0000554A 4EBA FEBA jsr [PC - 0x146 /* 00005406 */]
0000554E 3D5F 0012 move.w [A6 + 0x12], [A7]+
00005552 4E5E unlink A6
00005554 205F movea.l A0, [A7]+
00005556 4FEF 000A lea.l A7, [A7 + 0xA]
0000555A 4ED0 jmp [A0]
0000555C 8748 4445 pack -[A3], -[A0], 0x4445
00005560 4C45 5445 movem.l A6,A4,A2,D6,D2,D0, D5
00005564 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005566-0000556A
fn00005566:
00005566 4E56 FF7C link A6, -0x0084
// end alternate branch 00005566-0000556A
fn00005566: // (misaligned)
00005568 FF7C .extension 0xF7C // unimplemented
0000556A 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000556E 266E 0008 movea.l A3, [A6 + 0x8]
00005572 286E 000C movea.l A4, [A6 + 0xC]
00005576 3A2E 0016 move.w D5, [A6 + 0x16]
0000557A 2C2E 0012 move.l D6, [A6 + 0x12]
0000557E 4204 clr.b D4
00005580 558F subq.l A7, 2
00005582 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
00005588 486E FF7C pea.l [A6 - 0x84]
0000558C 4EBA 0156 jsr [PC + 0x156 /* 000056E4 */]
00005590 3E1F move.w D7, [A7]+
00005592 660C bne +0xE /* 000055A0 */
00005594 202E FF7C move.l D0, [A6 - 0x84]
00005598 0800 0000 btst.b D0, 0x0
0000559C 6702 beq +0x4 /* 000055A0 */
0000559E 7801 moveq.l D4, 0x01
label000055A0:
000055A0 4A04 tst.b D4
000055A2 671A beq +0x1C /* 000055BE */
000055A4 558F subq.l A7, 2
000055A6 3F05 move.w -[A7], D5
000055A8 2F06 move.l -[A7], D6
000055AA 1F2E 0010 move.b -[A7], [A6 + 0x10]
000055AE 2F0C move.l -[A7], A4
000055B0 2F0B move.l -[A7], A3
000055B2 7000 moveq.l D0, 0x00
000055B4 A823 trap AliasDispatch
000055B6 3D5F 0018 move.w [A6 + 0x18], [A7]+
000055BA 6000 00E4 bra +0xE6 /* 000056A0 */
label000055BE:
000055BE 0C86 6D61 6373 cmpi.l D6, 0x6D616373 /* 'macs' */
000055C4 6742 beq +0x44 /* 00005608 */
000055C6 0C86 7465 6D70 cmpi.l D6, 0x74656D70 /* 'temp' */
000055CC 673A beq +0x3C /* 00005608 */
000055CE 0C86 7072 6566 cmpi.l D6, 0x70726566 /* 'pref' */
000055D4 6732 beq +0x34 /* 00005608 */
000055D6 0C86 6578 746E cmpi.l D6, 0x6578746E /* 'extn' */
000055DC 672A beq +0x2C /* 00005608 */
000055DE 0C86 6374 726C cmpi.l D6, 0x6374726C /* 'ctrl' */
000055E4 6722 beq +0x24 /* 00005608 */
000055E6 0C86 616D 6E75 cmpi.l D6, 0x616D6E75 /* 'amnu' */
000055EC 671A beq +0x1C /* 00005608 */
000055EE 0C86 7374 7274 cmpi.l D6, 0x73747274 /* 'strt' */
000055F4 6712 beq +0x14 /* 00005608 */
000055F6 0C86 7072 6E74 cmpi.l D6, 0x70726E74 /* 'prnt' */
000055FC 670A beq +0xC /* 00005608 */
000055FE 3D7C FFCE 0018 move.w [A6 + 0x18], 0xFFCE
00005604 6000 009A bra +0x9C /* 000056A0 */
label00005608:
00005608 7000 moveq.l D0, 0x00
0000560A 2D40 FF92 move.l [A6 - 0x6E], D0
0000560E 0C45 8000 cmpi.w D5, 0x8000
00005612 6624 bne +0x26 /* 00005638 */
00005614 3D78 0A58 FF98 move.w [A6 - 0x68], [0x00000A58 /* SysMap */]
0000561A 426E FF9C clr.w [A6 - 0x64]
0000561E 7002 moveq.l D0, 0x02
00005620 2D40 FFBA move.l [A6 - 0x46], D0
00005624 41EE FF80 lea.l A0, [A6 - 0x80]
00005628 7008 moveq.l D0, 0x08
0000562A A260 trap FSDispatch/HFSDispatch, flags=2
0000562C 3E00 move.w D7, D0
0000562E 666C bne +0x6E /* 0000569C */
00005630 3D6E FFB4 FF96 move.w [A6 - 0x6A], [A6 - 0x4C]
00005636 6004 bra +0x6 /* 0000563C */
label00005638:
00005638 3D45 FF96 move.w [A6 - 0x6A], D5
label0000563C:
0000563C 7006 moveq.l D0, 0x06
0000563E 2D40 FFA4 move.l [A6 - 0x5C], D0
00005642 41EE FFFA lea.l A0, [A6 - 0x6]
00005646 2D48 FFA0 move.l [A6 - 0x60], A0
0000564A 41EE FF80 lea.l A0, [A6 - 0x80]
0000564E 7030 moveq.l D0, 0x30
00005650 A260 trap FSDispatch/HFSDispatch, flags=2
00005652 3E00 move.w D7, D0
00005654 0C47 FFCE cmpi.w D7, 0xFFCE
00005658 6710 beq +0x12 /* 0000566A */
0000565A 4A47 tst.w D7
0000565C 6638 bne +0x3A /* 00005696 */
0000565E 203C 0002 0000 move.l D0, 0x20000
00005664 C0AE FFFC and.l D0, [A6 - 0x4]
00005668 672C beq +0x2E /* 00005696 */
label0000566A:
0000566A 426E FF9C clr.w [A6 - 0x64]
0000566E 7000 moveq.l D0, 0x00
00005670 2D40 FFDA move.l [A6 - 0x26], D0
00005674 2D40 FFB0 move.l [A6 - 0x50], D0
00005678 41EE FF80 lea.l A0, [A6 - 0x80]
0000567C A207 trap GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
0000567E 3E00 move.w D7, D0
00005680 661A bne +0x1C /* 0000569C */
00005682 4AAE FFDA tst.l [A6 - 0x26]
00005686 670A beq +0xC /* 00005692 */
00005688 38AE FF96 move.w [A4], [A6 - 0x6A]
0000568C 26AE FFDA move.l [A3], [A6 - 0x26]
00005690 600A bra +0xC /* 0000569C */
label00005692:
00005692 7ED5 moveq.l D7, 0xFFFFFFD5
00005694 6006 bra +0x8 /* 0000569C */
label00005696:
00005696 4A47 tst.w D7
00005698 6602 bne +0x4 /* 0000569C */
0000569A 7ED5 moveq.l D7, 0xFFFFFFD5
label0000569C:
0000569C 3D47 0018 move.w [A6 + 0x18], D7
label000056A0:
000056A0 4CEE 18F0 FF64 movem.l A4,A3,D7,D6,D5,D4, [A6 - 0x9C]
000056A6 4E5E unlink A6
000056A8 205F movea.l A0, [A7]+
000056AA 4FEF 0010 lea.l A7, [A7 + 0x10]
000056AE 4ED0 jmp [A0]
000056B0 8A46 or.w D5, D6
000056B2 494E chk.w D4, A6
000056B4 4446 neg.w D6
000056B6 4F4C chk.w D7, A4
000056B8 4445 neg.w D5
000056BA 5200 addq.b D0, 1
000056BC 0000 2078 ori.b D0, 0x78 /* 'x' */
// begin alternate branch 000056BE-000056CC
fn000056BE:
000056BE 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
000056C2 A029 trap HLock
000056C4 594F subq.w A7, 4
000056C6 3F38 0AB0 move.w -[A7], [0x00000AB0 /* TEScrpLength */]
000056CA 4267 clr.w -[A7]
// end alternate branch 000056BE-000056CC
fn000056BE: // (misaligned)
000056C0 0AB4 A029 594F 3F38 0AB0 4267 xori.l [A4 + 0xAB04267 + D3 * 8], 0xA029594F
000056CC 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
000056D2 2F10 move.l -[A7], [A0]
000056D4 A9FE trap PutScrap
000056D6 544F addq.w A7, 2
000056D8 3F5F 0004 move.w [A7 + 0x4], [A7]+
000056DC 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
000056E0 A02A trap HUnlock
000056E2 4E75 rts
fn000056E4:
000056E4 4E56 0000 link A6, 0
000056E8 203C 0000 A89F move.l D0, 0xA89F
000056EE A746 trap GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000056F0 2F08 move.l -[A7], A0
000056F2 203C 0000 A0AD move.l D0, 0xA0AD
000056F8 A346 trap GetOSTrapAddress, flags=3
000056FA B1DF cmpa.l A0, [A7]+
000056FC 670E beq +0x10 /* 0000570C */
000056FE 202E 000C move.l D0, [A6 + 0xC]
00005702 A1AD trap Gestalt, flags=1
00005704 226E 0008 movea.l A1, [A6 + 0x8]
00005708 2288 move.l [A1], A0
0000570A 6026 bra +0x28 /* 00005732 */
label0000570C:
0000570C 41FA 0036 lea.l A0, [PC + 0x36 /* 00005744 */]
00005710 303C EA51 move.w D0, 0xEA51
00005714 222E 000C move.l D1, [A6 + 0xC]
label00005718:
00005718 B298 cmp.l D1, [A0]+
0000571A 6706 beq +0x8 /* 00005722 */
0000571C 4A98 tst.l [A0]+
0000571E 6712 beq +0x14 /* 00005732 */
00005720 60F6 bra -0x8 /* 00005718 */
label00005722:
00005722 43FA 0020 lea.l A1, [PC + 0x20 /* 00005744 */]
00005726 D3D0 add.l A1, [A0]
00005728 4ED1 jmp [A1]
label0000572A:
0000572A 226E 0008 movea.l A1, [A6 + 0x8]
0000572E 2280 move.l [A1], D0
00005730 4240 clr.w D0
label00005732:
00005732 3D40 0010 move.w [A6 + 0x10], D0
00005736 4E5E unlink A6
00005738 205F movea.l A0, [A7]+
0000573A 508F addq.l A7, 8
0000573C 4ED0 jmp [A0]
label0000573E:
0000573E 303C EA52 move.w D0, 0xEA52
00005742 60EE bra -0x10 /* 00005732 */
00005744 7665 moveq.l D3, 0x65
00005746 7273 moveq.l D1, 0x73
00005748 0000 0060 ori.b D0, 0x60 /* '`' */
0000574C 6D61 blt +0x63 /* 000057AF */
0000574E 6368 bls +0x6A /* 000057B8 */
00005750 0000 0064 ori.b D0, 0x64 /* 'd' */
00005754 7379 moveq.l D1, 0x79
00005756 7376 moveq.l D1, 0x76
00005758 0000 0088 ori.b D0, 0x88
0000575C 7072 moveq.l D0, 0x72
0000575E 6F63 ble +0x65 /* 000057C3 */
00005760 0000 0092 ori.b D0, 0x92
00005764 6670 bne +0x72 /* 000057D6 */
00005766 7520 moveq.l D2, 0x20
00005768 0000 009E ori.b D0, 0x9E
0000576C 7164 moveq.l D0, 0x64
0000576E 2020 move.l D0, -[A0]
00005770 0000 00E8 ori.b D0, 0xE8
00005774 6B62 bmi +0x64 /* 000057D8 */
00005776 6420 bcc +0x22 /* 00005798 */
00005778 0000 011A ori.b D0, 0x1A
0000577C 6174 bsr +0x76 /* 000057F2 */
0000577E 6C6B bge +0x6D /* 000057EB */
00005780 0000 0142 ori.b D0, 0x42 /* 'B' */
00005784 6D6D blt +0x6F /* 000057F3 */
00005786 7520 moveq.l D2, 0x20
00005788 0000 0164 ori.b D0, 0x64 /* 'd' */
0000578C 7261 moveq.l D1, 0x61
0000578E 6D20 blt +0x22 /* 000057B0 */
00005790 0000 0188 ori.b D0, 0x88
00005794 6C72 bge +0x74 /* 00005808 */
00005796 616D bsr +0x6F /* 00005805 */
label00005798:
00005798 0000 0188 ori.b D0, 0x88
0000579C 0000 0000 ori.b D0, 0x0
000057A0 0000 0000 ori.b D0, 0x0
000057A4 7001 moveq.l D0, 0x01
000057A6 6082 bra -0x7C /* 0000572A */
000057A8 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
000057AC 7004 moveq.l D0, 0x04
000057AE 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 000057B0-000057B8
label000057B0:
000057B0 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 000057B0-000057B8
label000057AF: // (misaligned)
label000057B0: // (misaligned)
000057B4 6712 beq +0x14 /* 000057C8 */
000057B6 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 000057B8-000057BE
label000057B8:
000057B8 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 000057B8-000057BE
label000057B8: // (misaligned)
000057BC 6604 bne +0x6 /* 000057C2 */
000057BE 5240 addq.w D0, 1
000057C0 6006 bra +0x8 /* 000057C8 */
label000057C2:
000057C2 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
label000057C3: // (misaligned)
000057C6 5C80 addq.l D0, 6
label000057C8:
000057C8 6000 FF60 bra -0x9E /* 0000572A */
000057CC 7000 moveq.l D0, 0x00
000057CE 3038 015A move.w D0, [0x0000015A /* SysVersion */]
000057D2 6000 FF56 bra -0xA8 /* 0000572A */
label000057D6:
000057D6 7000 moveq.l D0, 0x00
label000057D8:
000057D8 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000057DC 5240 addq.w D0, 1
000057DE 6000 FF4A bra -0xB4 /* 0000572A */
000057E2 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
000057E8 6738 beq +0x3A /* 00005822 */
000057EA 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
label000057EB: // (misaligned)
000057F0 6734 beq +0x36 /* 00005826 */
fn000057F2:
000057F2 204F movea.l A0, A7
label000057F3: // (misaligned)
000057F4 F280 .extension 0x280 // unimplemented
000057F6 0000 F327 ori.b D0, 0x27 /* ''' */
000057FA 3017 move.w D0, [A7]
000057FC 2E48 movea.l A7, A0
000057FE 0C40 1F18 cmpi.w D0, 0x1F18
00005802 6716 beq +0x18 /* 0000581A */
00005804 0C40 3F18 cmpi.w D0, 0x3F18
fn00005805: // (misaligned)
label00005808:
00005808 6710 beq +0x12 /* 0000581A */
0000580A 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
0000580E 670E beq +0x10 /* 0000581E */
00005810 0C40 1F38 cmpi.w D0, 0x1F38
00005814 6708 beq +0xA /* 0000581E */
00005816 7000 moveq.l D0, 0x00
00005818 600E bra +0x10 /* 00005828 */
label0000581A:
0000581A 7001 moveq.l D0, 0x01
0000581C 600A bra +0xC /* 00005828 */
label0000581E:
0000581E 7002 moveq.l D0, 0x02
00005820 6006 bra +0x8 /* 00005828 */
label00005822:
00005822 7003 moveq.l D0, 0x03
00005824 6002 bra +0x4 /* 00005828 */
label00005826:
00005826 7000 moveq.l D0, 0x00
label00005828:
00005828 6000 FF00 bra -0xFE /* 0000572A */
0000582C 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00005832 6E1C bgt +0x1E /* 00005850 */
00005834 303C A89F move.w D0, 0xA89F
00005838 A746 trap GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000583A 2408 move.l D2, A0
0000583C 203C 0000 AB03 move.l D0, 0xAB03
00005842 A746 trap GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005844 203C 0000 0100 move.l D0, 0x100
0000584A B488 cmp.l D2, A0
0000584C 6606 bne +0x8 /* 00005854 */
0000584E 600A bra +0xC /* 0000585A */
label00005850:
00005850 7000 moveq.l D0, 0x00
00005852 6006 bra +0x8 /* 0000585A */
label00005854:
00005854 203C 0000 0200 move.l D0, 0x200
label0000585A:
0000585A 6000 FECE bra -0x130 /* 0000572A */
0000585E 1038 021E move.b D0, [0x0000021E /* KbdType */]
00005862 41FA 0016 lea.l A0, [PC + 0x16 /* 0000587A */]
00005866 2248 movea.l A1, A0
label00005868:
00005868 1218 move.b D1, [A0]+
0000586A 6700 FED2 beq -0x12C /* 0000573E */
0000586E B200 cmp.b D1, D0
00005870 66F6 bne -0x8 /* 00005868 */
00005872 91C9 sub.l A0, A1
00005874 2008 move.l D0, A0
00005876 6000 FEB2 bra -0x14C /* 0000572A */
0000587A 0313 btst [A3], D1
0000587C 0B02 btst D2, D5
0000587E 0106 btst D6, D0
00005880 0704 btst D4, D3
00005882 0508 btst A0, D2
00005884 0900 btst D0, D4
00005886 7000 moveq.l D0, 0x00
00005888 4A38 0291 tst.b [0x00000291 /* PortBUse */]
0000588C 6B16 bmi +0x18 /* 000058A4 */
0000588E 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00005892 0201 000F andi.b D1, 0xF
00005896 0C01 0001 cmpi.b D1, 0x1
0000589A 6608 bne +0xA /* 000058A4 */
0000589C 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
000058A0 1028 0007 move.b D0, [A0 + 0x7]
label000058A4:
000058A4 6000 FE84 bra -0x17A /* 0000572A */
000058A8 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000058AE 6D16 blt +0x18 /* 000058C6 */
000058B0 7000 moveq.l D0, 0x00
000058B2 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
000058B6 0C00 0001 cmpi.b D0, 0x1
000058BA 670C beq +0xE /* 000058C8 */
000058BC 0C00 0003 cmpi.b D0, 0x3
000058C0 6D04 blt +0x6 /* 000058C6 */
000058C2 5340 subq.w D0, 1
000058C4 6002 bra +0x4 /* 000058C8 */
label000058C6:
000058C6 7000 moveq.l D0, 0x00
label000058C8:
000058C8 6000 FE60 bra -0x19E /* 0000572A */
000058CC 303C A89F move.w D0, 0xA89F
000058D0 A746 trap GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000058D2 2408 move.l D2, A0
000058D4 203C 0000 A88F move.l D0, 0xA88F
000058DA A746 trap GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000058DC 2038 0108 move.l D0, [0x00000108 /* MemTop */]
000058E0 B488 cmp.l D2, A0
000058E2 670A beq +0xC /* 000058EE */
000058E4 598F subq.l A7, 4
000058E6 3F3C 0016 move.w -[A7], 0x16
000058EA A88F trap OSDispatch
000058EC 201F move.l D0, [A7]+
label000058EE:
000058EE 6000 FE3A bra -0x1C4 /* 0000572A */
fn000058F2:
000058F2 206F 0008 movea.l A0, [A7 + 0x8]
000058F6 3F3C 0001 move.w -[A7], 0x1
000058FA A9EE trap Pack7/DecStr68K
000058FC 206F 0004 movea.l A0, [A7 + 0x4]
00005900 2080 move.l [A0], D0
00005902 4EFA 000E jmp [PC + 0xE /* 00005912 */]
fn00005906:
00005906 206F 0004 movea.l A0, [A7 + 0x4]
0000590A 202F 0008 move.l D0, [A7 + 0x8]
0000590E 4267 clr.w -[A7]
00005910 A9EE trap Pack7/DecStr68K
label00005912:
00005912 205F movea.l A0, [A7]+
00005914 504F addq.w A7, 8
00005916 4ED0 jmp [A0]
fn00005918:
00005918 2F17 move.l -[A7], [A7]
0000591A 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
00005922 4EFA 008E jmp [PC + 0x8E /* 000059B2 */]
fn00005926:
00005926 2F17 move.l -[A7], [A7]
00005928 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
00005930 4EFA 0080 jmp [PC + 0x80 /* 000059B2 */]
fn00005934:
00005934 2F17 move.l -[A7], [A7]
00005936 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
0000593E 4EFA 0072 jmp [PC + 0x72 /* 000059B2 */]
fn00005942:
00005942 2F17 move.l -[A7], [A7]
00005944 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
0000594C 4EFA 0064 jmp [PC + 0x64 /* 000059B2 */]
fn00005950:
00005950 2F17 move.l -[A7], [A7]
00005952 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
0000595A 4EFA 0056 jmp [PC + 0x56 /* 000059B2 */]
fn0000595E:
0000595E 2F17 move.l -[A7], [A7]
00005960 2F7C 2A04 0484 0004 move.l [A7 + 0x4], 0x2A040484
00005968 4EFA 0048 jmp [PC + 0x48 /* 000059B2 */]
fn0000596C:
0000596C 2F17 move.l -[A7], [A7]
0000596E 2F7C 3204 0488 0004 move.l [A7 + 0x4], 0x32040488
00005976 4EFA 003A jmp [PC + 0x3A /* 000059B2 */]
fn0000597A:
0000597A 2F17 move.l -[A7], [A7]
0000597C 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
00005984 4EFA 002C jmp [PC + 0x2C /* 000059B2 */]
fn00005988:
00005988 2F17 move.l -[A7], [A7]
0000598A 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
00005992 4EFA 001E jmp [PC + 0x1E /* 000059B2 */]
fn00005996:
00005996 2F17 move.l -[A7], [A7]
00005998 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
000059A0 4EFA 0010 jmp [PC + 0x10 /* 000059B2 */]
fn000059A4:
000059A4 2F17 move.l -[A7], [A7]
000059A6 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
000059AE 4EFA 0002 jmp [PC + 0x2 /* 000059B2 */]
fn000059B2:
000059B2 2F0B move.l -[A7], A3
000059B4 203C 0000 A89F move.l D0, 0xA89F
000059BA A146 trap GetTrapAddress, flags=1
000059BC 2648 movea.l A3, A0
000059BE 203C 0000 A8FD move.l D0, 0xA8FD
000059C4 A146 trap GetTrapAddress, flags=1
000059C6 B7C8 cmpa.l A3, A0
000059C8 6746 beq +0x48 /* 00005A10 */
000059CA 265F movea.l A3, [A7]+
000059CC 4E56 0000 link A6, 0
000059D0 41EE 0008 lea.l A0, [A6 + 0x8]
000059D4 7007 moveq.l D0, 0x07
000059D6 C02E 0008 and.b D0, [A6 + 0x8]
000059DA D02E 000A add.b D0, [A6 + 0xA]
000059DE 5800 addq.b D0, 4
000059E0 9EC0 sub.w A7, D0
000059E2 224F movea.l A1, A7
000059E4 A02E trap BlockMove/BlockMoveData
000059E6 A8FD trap PrGlue
000059E8 7200 moveq.l D1, 0x00
000059EA 122E 000A move.b D1, [A6 + 0xA]
000059EE 7007 moveq.l D0, 0x07
000059F0 C02E 0008 and.b D0, [A6 + 0x8]
000059F4 6710 beq +0x12 /* 00005A06 */
000059F6 204F movea.l A0, A7
000059F8 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
000059FC E248 lsr D0.w, 1
000059FE 6002 bra +0x4 /* 00005A02 */
label00005A00:
00005A00 32DF move.w [A1]+, [A7]+
label00005A02:
00005A02 51C8 FFFC dbf D0, -0x6 /* 00005A00 */
label00005A06:
00005A06 4E5E unlink A6
00005A08 205F movea.l A0, [A7]+
00005A0A DFC1 add.l A7, D1
00005A0C 584F addq.w A7, 4
00005A0E 4ED0 jmp [A0]
label00005A10:
00005A10 265F movea.l A3, [A7]+
00005A12 4E56 0000 link A6, 0
00005A16 48E7 0018 movem.l -[A7], A3,A4
00005A1A 7200 moveq.l D1, 0x00
00005A1C 122E 0008 move.b D1, [A6 + 0x8]
00005A20 E609 lsr D1.b, 3
00005A22 6718 beq +0x1A /* 00005A3C */
00005A24 4A2E 0008 tst.b [A6 + 0x8]
00005A28 6B00 00C2 bmi +0xC4 /* 00005AEC */
00005A2C 7400 moveq.l D2, 0x00
00005A2E 142E 0009 move.b D2, [A6 + 0x9]
00005A32 661E bne +0x20 /* 00005A52 */
00005A34 7403 moveq.l D2, 0x03
00005A36 C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
00005A3A 6016 bra +0x18 /* 00005A52 */
label00005A3C:
00005A3C 206E 0014 movea.l A0, [A6 + 0x14]
00005A40 2050 movea.l A0, [A0]
00005A42 7403 moveq.l D2, 0x03
00005A44 C428 0044 and.b D2, [A0 + 0x44]
00005A48 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
00005A4E 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label00005A52:
00005A52 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00005A56 42A7 clr.l -[A7]
00005A58 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00005A5E 3F02 move.w -[A7], D2
00005A60 A9A0 trap GetResource
00005A62 201F move.l D0, [A7]+
00005A64 4A80 tst.l D0
00005A66 664A bne +0x4C /* 00005AB2 */
00005A68 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
00005A6E 670C beq +0xE /* 00005A7C */
00005A70 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00005A74 A998 trap UseResFile
00005A76 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00005A7A 6716 beq +0x18 /* 00005A92 */
label00005A7C:
00005A7C 6100 01D0 bsr +0x1D2 /* 00005C4E */
00005A80 4A40 tst.w D0
00005A82 6708 beq +0xA /* 00005A8C */
00005A84 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00005A88 6000 00B0 bra +0xB2 /* 00005B3A */
label00005A8C:
00005A8C 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00005A90 A998 trap UseResFile
label00005A92:
00005A92 42A7 clr.l -[A7]
00005A94 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00005A9A 3F02 move.w -[A7], D2
00005A9C A9A0 trap GetResource
00005A9E 201F move.l D0, [A7]+
00005AA0 4A80 tst.l D0
00005AA2 660E bne +0x10 /* 00005AB2 */
00005AA4 3F0B move.w -[A7], A3
00005AA6 A998 trap UseResFile
00005AA8 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00005AAE 6000 008A bra +0x8C /* 00005B3A */
label00005AB2:
00005AB2 2840 movea.l A4, D0
00005AB4 204C movea.l A0, A4
00005AB6 A029 trap HLock
00005AB8 3F0B move.w -[A7], A3
00005ABA A998 trap UseResFile
00005ABC 41EE 000C lea.l A0, [A6 + 0xC]
00005AC0 7007 moveq.l D0, 0x07
00005AC2 C02E 0008 and.b D0, [A6 + 0x8]
00005AC6 D02E 000A add.b D0, [A6 + 0xA]
00005ACA 9EC0 sub.w A7, D0
00005ACC 224F movea.l A1, A7
00005ACE A02E trap BlockMove/BlockMoveData
00005AD0 102E 000B move.b D0, [A6 + 0xB]
00005AD4 0200 007F andi.b D0, 0x7F
00005AD8 2054 movea.l A0, [A4]
00005ADA 4EB0 0000 jsr [A0 + D0.w]
00005ADE 102E 000B move.b D0, [A6 + 0xB]
00005AE2 6A04 bpl +0x6 /* 00005AE8 */
00005AE4 204C movea.l A0, A4
00005AE6 A02A trap HUnlock
label00005AE8:
00005AE8 6000 011A bra +0x11C /* 00005C04 */
label00005AEC:
00005AEC 9EFC 0032 sub.w A7, 0x32 /* '2' */
00005AF0 41FA 0194 lea.l A0, [PC + 0x194 /* 00005C86, pstring ".Print " */]
00005AF4 2F48 0012 move.l [A7 + 0x12], A0
00005AF8 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00005AFE 422F 001B clr.b [A7 + 0x1B]
00005B02 204F movea.l A0, A7
00005B04 7000 moveq.l D0, 0x00
00005B06 0881 0004 bclr.b D1, 0x4
00005B0A D241 add.w D1, D1
00005B0C 323B 1006 move.w D1, [PC + D1.w + 0x6]
00005B10 4EFB 1002 jmp [PC + D1.w + 0x2]
00005B14 0068 006C 0070 ori.w [A0 + 0x70], 0x6C /* 'l' */
00005B1A 007A 008C 00A8 ori.w [PC + 0xA8 /* 00005BC4 */], 0x8C
00005B20 00BA 00DA 00E4 0030 ori.l [PC + 0x30 /* 00005B52 */], 0xDA00E4
00005B28 0044 0020 ori.w D4, 0x20 /* ' ' */
00005B2C 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00005B30 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00005B34 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label00005B3A:
00005B3A 7200 moveq.l D1, 0x00
00005B3C 122E 000A move.b D1, [A6 + 0xA]
00005B40 6000 00E0 bra +0xE2 /* 00005C22 */
00005B44 2F3C 8000 0000 move.l -[A7], 0x80000000
00005B4A 4EBA FE66 jsr [PC - 0x19A /* 000059B2 */]
00005B4E 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
00005B52 6624 bne +0x26 /* 00005B78 */
00005B54 7200 moveq.l D1, 0x00
00005B56 6002 bra +0x4 /* 00005B5A */
00005B58 7201 moveq.l D1, 0x01
label00005B5A:
00005B5A 6100 00F2 bsr +0xF4 /* 00005C4E */
00005B5E 4A40 tst.w D0
00005B60 6616 bne +0x18 /* 00005B78 */
00005B62 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
00005B66 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00005B6A 6608 bne +0xA /* 00005B74 */
00005B6C 4A41 tst.w D1
00005B6E 6704 beq +0x6 /* 00005B74 */
00005B70 3F00 move.w -[A7], D0
00005B72 A99A trap CloseResFile
label00005B74:
00005B74 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00005B78:
00005B78 6000 0082 bra +0x84 /* 00005BFC */
00005B7C A000 trap Open/PBHOpen/HOpen
00005B7E 607C bra +0x7E /* 00005BFC */
00005B80 A001 trap Close
00005B82 6078 bra +0x7A /* 00005BFC */
00005B84 615A bsr +0x5C /* 00005BE0 */
00005B86 4FEF 002E lea.l A7, [A7 + 0x2E]
00005B8A 2E88 move.l [A7], A0
00005B8C 6076 bra +0x78 /* 00005C04 */
00005B8E 6150 bsr +0x52 /* 00005BE0 */
00005B90 2050 movea.l A0, [A0]
00005B92 7000 moveq.l D0, 0x00
00005B94 1028 0007 move.b D0, [A0 + 0x7]
00005B98 4FEF 0030 lea.l A7, [A7 + 0x30]
00005B9C 3E80 move.w [A7], D0
00005B9E 6064 bra +0x66 /* 00005C04 */
00005BA0 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
00005BA6 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
00005BAC 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
00005BB2 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
00005BB8 A004 trap Control
00005BBA 6040 bra +0x42 /* 00005BFC */
00005BBC 6122 bsr +0x24 /* 00005BE0 */
00005BBE 2050 movea.l A0, [A0]
00005BC0 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00005BC6 6734 beq +0x36 /* 00005BFC */
00005BC8 2050 movea.l A0, [A0]
00005BCA A049 trap HPurge
00005BCC 602E bra +0x30 /* 00005BFC */
00005BCE 6110 bsr +0x12 /* 00005BE0 */
00005BD0 2050 movea.l A0, [A0]
00005BD2 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00005BD8 6722 beq +0x24 /* 00005BFC */
00005BDA 2050 movea.l A0, [A0]
00005BDC A04A trap HNoPurge
00005BDE 601C bra +0x1E /* 00005BFC */
fn00005BE0:
00005BE0 317C 0001 001A move.w [A0 + 0x1A], 0x1
00005BE6 A005 trap Status
00005BE8 2068 001C movea.l A0, [A0 + 0x1C]
00005BEC 4E75 rts
00005BEE 4FEF 0030 lea.l A7, [A7 + 0x30]
00005BF2 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
00005BF6 600C bra +0xE /* 00005C04 */
00005BF8 302E 000C move.w D0, [A6 + 0xC]
label00005BFC:
00005BFC 4FEF 0032 lea.l A7, [A7 + 0x32]
00005C00 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label00005C04:
00005C04 7200 moveq.l D1, 0x00
00005C06 122E 000A move.b D1, [A6 + 0xA]
00005C0A 7007 moveq.l D0, 0x07
00005C0C C02E 0008 and.b D0, [A6 + 0x8]
00005C10 6710 beq +0x12 /* 00005C22 */
00005C12 204F movea.l A0, A7
00005C14 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00005C18 E248 lsr D0.w, 1
00005C1A 6002 bra +0x4 /* 00005C1E */
label00005C1C:
00005C1C 32DF move.w [A1]+, [A7]+
label00005C1E:
00005C1E 51C8 FFFC dbf D0, -0x6 /* 00005C1C */
label00005C22:
00005C22 4CDF 1800 movem.l A4,A3, [A7]+
00005C26 4E5E unlink A6
00005C28 205F movea.l A0, [A7]+
00005C2A DFC1 add.l A7, D1
00005C2C 584F addq.w A7, 4
00005C2E 4ED0 jmp [A0]
fn00005C30:
00005C30 7000 moveq.l D0, 0x00
fn00005C32:
00005C32 9EFC 0040 sub.w A7, 0x40 /* '@' */
00005C36 204F movea.l A0, A7
00005C38 3140 0016 move.w [A0 + 0x16], D0
00005C3C 42A8 0012 clr.l [A0 + 0x12]
00005C40 A015 trap SetVol/PBHSetVol/HSetVol
00005C42 A014 trap GetVol/PBHGetVol/HGetVol
00005C44 3028 0016 move.w D0, [A0 + 0x16]
00005C48 4FEF 0040 lea.l A7, [A7 + 0x40]
00005C4C 4E75 rts
fn00005C4E:
00005C4E 594F subq.w A7, 4
00005C50 3F3C E000 move.w -[A7], 0xE000
00005C54 A9BA trap GetString
00005C56 201F move.l D0, [A7]+
00005C58 6606 bne +0x8 /* 00005C60 */
00005C5A 303C FF40 move.w D0, 0xFF40
00005C5E 6024 bra +0x26 /* 00005C84 */
label00005C60:
00005C60 2240 movea.l A1, D0
00005C62 61CC bsr -0x32 /* 00005C30 */
00005C64 4841 swap.w D1
00005C66 3200 move.w D1, D0
00005C68 554F subq.w A7, 2
00005C6A 2049 movea.l A0, A1
00005C6C A029 trap HLock
00005C6E 2F11 move.l -[A7], [A1]
00005C70 A997 trap OpenResFile
00005C72 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
00005C76 2049 movea.l A0, A1
00005C78 A02A trap HUnlock
00005C7A 3001 move.w D0, D1
00005C7C 4841 swap.w D1
00005C7E 61B2 bsr -0x4C /* 00005C32 */
00005C80 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00005C84:
00005C84 4E75 rts
00005C86 072E 5072 btst [A6 + 0x5072], D3
00005C8A 696E bvs +0x70 /* 00005CFA */
00005C8C 7420 moveq.l D2, 0x20
export_38:
fn00005C8E:
00005C8E 202F 0004 move.l D0, [A7 + 0x4]
00005C92 2F40 0008 move.l [A7 + 0x8], D0
00005C96 6726 beq +0x28 /* 00005CBE */
00005C98 2040 movea.l A0, D0
00005C9A 2248 movea.l A1, A0
00005C9C 1019 move.b D0, [A1]+
00005C9E 671E beq +0x20 /* 00005CBE */
label00005CA0:
00005CA0 1211 move.b D1, [A1]
00005CA2 12C0 move.b [A1]+, D0
00005CA4 1001 move.b D0, D1
00005CA6 66F8 bne -0x6 /* 00005CA0 */
00005CA8 93C8 sub.l A1, A0
00005CAA 2009 move.l D0, A1
00005CAC 5340 subq.w D0, 1
00005CAE 0C80 0000 00FF cmpi.l D0, 0xFF
00005CB4 6F06 ble +0x8 /* 00005CBC */
00005CB6 203C 0000 00FF move.l D0, 0xFF
label00005CBC:
00005CBC 1080 move.b [A0], D0
label00005CBE:
00005CBE 225F movea.l A1, [A7]+
00005CC0 584F addq.w A7, 4
00005CC2 4ED1 jmp [A1]
export_39:
fn00005CC4:
00005CC4 225F movea.l A1, [A7]+
00005CC6 201F move.l D0, [A7]+
00005CC8 2E80 move.l [A7], D0
00005CCA 6712 beq +0x14 /* 00005CDE */
00005CCC 2040 movea.l A0, D0
00005CCE 7000 moveq.l D0, 0x00
00005CD0 1010 move.b D0, [A0]
00005CD2 6004 bra +0x6 /* 00005CD8 */
label00005CD4:
00005CD4 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00005CD8:
00005CD8 51C8 FFFA dbf D0, -0x8 /* 00005CD4 */
00005CDC 4210 clr.b [A0]
label00005CDE:
00005CDE 4ED1 jmp [A1]